DocumentNodeDictionaryTKey, TValueAdd Method (TKey, TValue) TIBCO Spotfire 7.6 API Reference
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: 25.11.10401.3615 (25.11.10401.3615)
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

ExceptionCondition
ArgumentExceptionAn element with the same key already exists in the IDictionaryTKey, TValue.
ArgumentNullExceptionkey is null.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference