DocumentNodeDictionary TKey, TValue  Add Method (TKey, TValue) TIBCO Spotfire 6.0 API Reference
Adds an element with the provided key and value to the IDictionary TKey, TValue .

Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

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

IDictionary TKey, TValue  Add(TKey, TValue)
Exceptions

ExceptionCondition
System ArgumentExceptionAn element with the same key already exists in the IDictionary TKey, TValue .
System ArgumentNullExceptionkey is null.
See Also