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.160 -- Release Build+69269a1754081bcb38397d2d6a05132ae03c7054
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