Share via


MeasureGroupCollection.Contains Method (MeasureGroup)

Indicates whether the collection contains a specified MeasureGroup.

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

Syntax

'Declaration
Public Function Contains ( _
    item As MeasureGroup _
) As Boolean
'Usage
Dim instance As MeasureGroupCollection
Dim item As MeasureGroup
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the MeasureGroup exists in the collection; otherwise, false.