Bagikan melalui


PerspectiveHierarchyCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the PerspectiveHierarchy, with the specified HierarchyID, from the collection.

Item[Int32]

Gets the PerspectiveHierarchy, at the specified index, from the collection.

Item[String]

Gets the PerspectiveHierarchy, with the specified HierarchyID, from the collection.

public Microsoft.AnalysisServices.PerspectiveHierarchy this[string hierarchyId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.PerspectiveHierarchy
Default Public ReadOnly Property Item(hierarchyId As String) As PerspectiveHierarchy

Parameters

hierarchyId
String

The HierarchyID of the PerspectiveHierarchy to be returned.

Property Value

The PerspectiveHierarchy with the specified HierarchyID.

Exceptions

The collection doesn't contain a PerspectiveHierarchy with the specified HierarchyID.

Applies to

Item[Int32]

Gets the PerspectiveHierarchy, at the specified index, from the collection.

public Microsoft.AnalysisServices.PerspectiveHierarchy this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.PerspectiveHierarchy
Default Public ReadOnly Property Item(index As Integer) As PerspectiveHierarchy

Parameters

index
Int32

The zero-based index of the PerspectiveHierarchy to be returned.

Property Value

The PerspectiveHierarchy at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to