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.141 -- Release Build+bdf56a3938e56213864ec1432892d5e4deb869ac
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