Dela via


PerspectiveMeasureGroupCollection.Contains Method (String)

Indicatess whether the collection contains a PerspectiveMeasureGroup that has the specified identifier.

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

Syntax

'Declaration
Public Function Contains ( _
    measureGroupId As String _
) As Boolean
'Usage
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim returnValue As Boolean

returnValue = instance.Contains(measureGroupId)
public bool Contains(
    string measureGroupId
)
public:
bool Contains(
    String^ measureGroupId
)
member Contains : 
        measureGroupId:string -> bool 
public function Contains(
    measureGroupId : String
) : boolean

Parameters

Return Value

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