Adds an element with the provided key and value to the IDictionary TKey, TValue .
Namespace: Spotfire.Dxp.Framework.DocumentModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
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
IDictionary TKey, TValue Add(TKey, TValue)Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | key is null. |
System ArgumentException | An element with the same key already exists in the IDictionary TKey, TValue . |
System NotSupportedException | The IDictionary TKey, TValue is read-only. |
Version Information
See Also