Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractKeyBasedCache..::.Contains Method
AbstractKeyBasedCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Returns true if this cache contains a mapping for the specified key.

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

# Syntax

C#
    public virtual bool Contains(
    	Object key
    )

#### Parameters

key
  Type: System..::.Object
  Key whose mapping is searched for.

#### Return Value

true if this cache contains a mapping for the specified key, false otherwise.

#### Implements

IDictionary..::.Contains(Object)

# See Also

AbstractKeyBasedCache Class
Tangosol.Net.Cache.Support Namespace