Adds an element with the provided key and value to the IDictionaryTKey, TValue.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
public void Add( TKey key, TValue value )
Parameters
- key
- Type: TKey
The object to use as the key of the element to add. - value
- Type: TValue
The object to use as the value of the element to add.
Implements
IDictionaryTKey, TValueAdd(TKey, TValue)Exceptions
Exception | Condition |
---|---|
ArgumentNullException | key is . |
ArgumentException | An element with the same key already exists in the IDictionaryTKey, TValue. |
NotSupportedException | The IDictionaryTKey, TValue is read-only. |
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also