Share via


PerspectiveDimensionCollection.Item Property (String)

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

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As PerspectiveDimension 
    Get
'Usage
Dim instance As PerspectiveDimensionCollection 
Dim cubeDimensionId As String 
Dim value As PerspectiveDimension 

value = instance(cubeDimensionId)
public PerspectiveDimension this[
    string cubeDimensionId
] { get; }
public:
property PerspectiveDimension^ default[String^ cubeDimensionId] {
    PerspectiveDimension^ get (String^ cubeDimensionId);
}
member Item : PerspectiveDimension
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.PerspectiveDimension
The PerspectiveDimension specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

cubeDimensionID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

cubeDimensionID does not exist in the collection.

See Also

Reference

PerspectiveDimensionCollection Class

Item Overload

Microsoft.AnalysisServices Namespace