ThreadSafeDictionaryTKey, TValueContainsKey Method

Determines whether the ThreadSafeDictionaryTKey, TValue contains an element with the specified key.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool ContainsKey(
	TKey key
)

Parameters

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

Return Value

Boolean
if the ThreadSafeDictionaryTKey, TValue contains an element with the specified key; otherwise, .

Implements

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

Exceptions

See Also