Click or drag to resize

IMapTKey, TValueContainsKey Method

Determines whether this map contains an entry for the specified key.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
bool ContainsKey(
	Object key
)

Parameters

key
Type: SystemObject
The key.

Return Value

Type: Boolean
true if the specified key contains key; otherwise, false.
Remarks
Determines whether this map contains an entry for the specified key.

Warning:

ˆ This method uses hashCode and equals of binary form of the key, not the actual implementations of hashCode and equals defined in key's class.

See Also