Click or drag to resize

PartialDictionaryTKey, TBaseValue, TDerivValueAdd(TKey, TDerivValue) Method

Adds an element with the provided key and value to the IDictionaryTKey, TValue.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public void Add(
	TKey key,
	TDerivValue value
)

Parameters

key  TKey
The object to use as the key of the element to add.
value  TDerivValue
The object to use as the value of the element to add.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is .
ArgumentExceptionAn element with the same key already exists in the IDictionaryTKey, TValue.
NotSupportedExceptionThe IDictionaryTKey, TValue is read-only.
See Also