Share via


AggregationInstanceMeasureCollection.Contains Method (AggregationInstanceMeasure)

Indicates whether the collection contains the specified AggregationInstanceMeasure.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As AggregationInstanceMeasure _
) As Boolean
'Usage
Dim instance As AggregationInstanceMeasureCollection
Dim item As AggregationInstanceMeasure
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    AggregationInstanceMeasure item
)
public:
bool Contains(
    AggregationInstanceMeasure^ item
)
member Contains : 
        item:AggregationInstanceMeasure -> bool 
public function Contains(
    item : AggregationInstanceMeasure
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if the specified AggregationInstanceMeasure exists in the collection; otherwise, false