Collapse All Expand All

C#

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

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Determines whether the object contains an element with the specified key.

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

# Syntax

C#
    public override bool Contains(
    	Object key
    )

#### Parameters

key
  Type: System..::.Object
  The key to locate in the ICache object.

#### Return Value

true if the ICache contains an element with the key; otherwise, false.

#### Implements

IDictionary..::.Contains(Object)
IDictionary..::.Contains(Object)

# See Also

LocalCache Class
Tangosol.Net.Cache Namespace