Click or drag to resize

ColumnStyleDictionaryAdd(DataColumn, ColumnStyle) Method

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

Namespace: Altaxo.Worksheet
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void Add(
	DataColumn key,
	ColumnStyle value
)

Parameters

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