DictionaryBaseTKey, TValueContainsKey Method |
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.7.18
Syntax public bool ContainsKey(
TKey key
)
Public Function ContainsKey (
key As TKey
) As Boolean
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 Exception | Condition |
---|
ArgumentNullException | key is null. |
See Also