Click or drag to resize

UserDefinedUnitEnvironmentsAdd(String, UserDefinedUnitEnvironment) Method

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

Namespace: Altaxo.Gui.Units
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void Add(
	string key,
	UserDefinedUnitEnvironment value
)

Parameters

key  String
The object to use as the key of the element to add.
value  UserDefinedUnitEnvironment
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