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: 30.0.11525.4184 (30.0.11525.4184)
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