IMapTKey, TValueDelete Method Hazelcast .Net Client Class Library
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

void Delete(
	Object key
)

Parameters

key
Type: SystemObject
key whose mapping is to be removed from the map
Exceptions

ExceptionCondition
InvalidCastException if the key is of an inappropriate type for this map (optional)
ArgumentNullExceptionif the specified key is null.
Remarks

Removes the mapping for a key from this map if it is present (optional operation).

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

Reference