Share via


PerspectiveDimensionCollection.Find Method

Gets the PerspectiveDimension that has the specified identifier from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    cubeDimensionId As String _
) As PerspectiveDimension
'Usage
Dim instance As PerspectiveDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As PerspectiveDimension

returnValue = instance.Find(cubeDimensionId)
public PerspectiveDimension Find(
    string cubeDimensionId
)
public:
PerspectiveDimension^ Find(
    String^ cubeDimensionId
)
member Find : 
        cubeDimensionId:string -> PerspectiveDimension 
public function Find(
    cubeDimensionId : String
) : PerspectiveDimension

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveDimension
A PerspectiveDimension if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).