![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IMapTKey, TValueRemove Method (Object, Object) |
Removes the entry for a key only if currently mapped to a given value.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxbool Remove(
Object key,
Object value
)
Function Remove (
key As Object,
value As Object
) As Boolean
bool Remove(
Object^ key,
Object^ value
)
abstract Remove :
key : Object *
value : Object -> bool
Parameters
- key
- Type: SystemObject
key - value
- Type: SystemObject
value
Return Value
Type:
Booleantrue if the value was removed
Remarks
Removes the entry for a key only if currently mapped to a given value.
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