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.147 -- Release Build+281cd9d48f79fa48c22e33d1c46c4d7bdd95f1cf
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