OrderedDictionaryTKey, TValueContainsKey Method

Determines whether the OrderedDictionaryTKey, TValue contains the specified key as an O(1) operation.

Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public bool ContainsKey(
	TKey key
)

Parameters

key  TKey
The key to locate in the OrderedDictionaryTKey, TValue.

Return Value

Boolean
true if the OrderedDictionaryTKey, TValue contains an element with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueContainsKey(TKey)
IReadOnlyDictionaryTKey, TValueContainsKey(TKey)

Exceptions

ArgumentNullExceptionkey is null.

See Also