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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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