MeasurementDictionaryAdd(MeasurementKey, IMeasurement) Method

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

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
public void Add(
	MeasurementKey key,
	IMeasurement value
)

Parameters

key  MeasurementKey
The object to use as the key of the element to add.
value  IMeasurement
The object to use as the value of the element to add.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)

Exceptions

ArgumentNullExceptionkey is .
ArgumentExceptionAn element with the same key already exists in the IDictionaryTKey, TValue.
NotSupportedExceptionThe IDictionaryTKey, TValue is read-only.

See Also