Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
LocalCache..::.Evict Method (Object)
LocalCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Evict a specified key from the cache, as if it had expired from the cache.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public virtual void Evict(
    	Object key
    )

#### Parameters

key
  Type: System..::.Object
  The key to evict from the cache.

#### Implements

IConfigurableCache..::.Evict(Object)

# Remarks

If the key is not in the cache, then the method has no effect.

# See Also

LocalCache Class
Evict Overload
Tangosol.Net.Cache Namespace