Click or drag to resize

OrderedDictionaryTKey, TValueContainsKey Method

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

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntax
public bool ContainsKey(
	TKey key
)
View Source

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
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also