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.165 -- Release Build+1fb84c70528ffb6fadca6f53885d2dbbac6b5235
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