Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public bool ContainsKey( TKey key )
Parameters
- key
- Type: TKey
The key to locate in the IDictionaryTKey, TValue.
Return Value
Type: Booleantrue if the IDictionaryTKey, TValue contains an element with the key; otherwise, false.
Implements
IDictionaryTKey, TValueContainsKey(TKey)Exceptions
Exception | Condition |
---|---|
ArgumentNullException | key is null. |
Version Information
See Also