![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IReplicatedMapTKey, 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.9.4
Syntaxbool ContainsKey(
Object key
)
Function ContainsKey (
key As Object
) As Boolean
bool ContainsKey(
Object^ key
)
abstract ContainsKey :
key : Object -> bool
Parameters
- key
- Type: SystemObject
The key.
Return Value
Type:
Booleantrue if the specified key contains key; otherwise,
false.
Remarks
Determines whether this map contains an entry for the specified key.
Warning:
ˆ
This method uses GetHashCode and Equals of binary form of
the key, not the actual implementations of GetHashCode and Equals
defined in key's class.
See Also