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.153 -- Release Build+2ac7a48d4209b98f9747910ba7b519b359a1c238
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