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.164 -- Release Build+a92a9bf42cb46f572890ee63295d6658a513d9b3
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