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.158 -- Release Build+742760b9fc81f0ff99a22d1d8a726573e73efb7e
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