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.160 -- Release Build+69269a1754081bcb38397d2d6a05132ae03c7054
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