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.181-beta
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