IMapTKey, TValueEvict Method Hazelcast .Net Client Class Library
Evicts the specified key from this map.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax

bool Evict(
	TKey key
)

Parameters

key
Type: TKey
key to evict

Return Value

Type: Boolean
true if the key is evicted, false otherwise.
Remarks

Evicts the specified key from this map. If a MapStore defined for this map, then the entry is not deleted from the underlying MapStore, evict only removes the entry from the memory.

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

Reference