Gemstone Timeseries Library
Show/Hide TOC

# MeasurementDictionaryRemove(KeyValuePairMeasurementKey, IMeasurement) Method

Removes the first occurrence of a specific object from the ICollectionT.

## Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.159 -- Release Build+5e229f6c17e56a080df8050499a7be13fe2cb600
C#
View Source Request Example

    public bool Remove(
    	KeyValuePair<MeasurementKey, IMeasurement> item
    )

VB
View Source Request Example

    Public Function Remove (
    	item As KeyValuePair(Of MeasurementKey, IMeasurement)
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool Remove(
    	KeyValuePair<MeasurementKey^, IMeasurement^> item
    ) sealed

JavaScript
View Source Request Example

    function Remove(item);

#### Parameters

item KeyValuePair MeasurementKey, IMeasurement
  The object to remove from the ICollectionT.

#### Return Value

Boolean
if item was successfully removed from the ICollectionT; otherwise, . This method also returns if item is not found in the original ICollectionT.

#### Implements

ICollectionT Remove(T)

## Exceptions

NotSupportedException | The ICollectionT is read-only.

## See Also

#### Reference

MeasurementDictionary Class
Remove Overload
Gemstone.Timeseries Namespace