Click or drag to resize

DictionaryBaseTKey, TValueContainsKey Method

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

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.4.24
Syntax
public bool ContainsKey(
	TKey key
)

Parameters

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

Return Value

Boolean
true if the IDictionaryTKey, TValue contains an element with the key; otherwise, false.

Implements

IDictionaryTKey, TValueContainsKey(TKey)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also