Removes the mapping for a key from this map if it is present
(optional operation).
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
Parameters
- key
- Type: SystemObject
key whose mapping is to be removed from the map
Exceptions
Exception | Condition |
---|---|
InvalidCastException | if the key is of an inappropriate type for this map (optional) |
ArgumentNullException | if the specified key is null. |
Remarks
this operation does not return removed value to avoid serialization cost of returned value. If the removed value will not be used, delete operation should be preferred over remove operation for a better performance.
The map will not contain a mapping for the specified key once the call returns.
See Also