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: 51.0.16121.3915 (51.0.16121.3915)
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
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also