Share via


PerspectiveDimensionCollection.Contains Method (String)

Indicates whether the collection contains a PerspectiveDimension that has the specified identifier.

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

Syntax

'Declaration
Public Function Contains ( _
    cubeDimensionId As String _
) As Boolean
'Usage
Dim instance As PerspectiveDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As Boolean

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

Parameters

Return Value

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