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: 71.0.22122.5390 (71.0.22122.5390)
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 |
|---|---|
| ArgumentException | An element with the same key already exists in the IDictionaryTKey, TValue. |
| ArgumentNullException | key is null. |
Version Information
See Also