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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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