PerspectiveHierarchyCollection.Item[] 属性

定义

重载

Item[String]

从集合中获取具有指定 HierarchyID 的 PerspectiveHierarchy

Item[Int32]

从集合中的指定索引处获取 PerspectiveHierarchy

Item[String]

从集合中获取具有指定 HierarchyID 的 PerspectiveHierarchy

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

参数

hierarchyId
String

要返回的 PerspectiveHierarchy 的 HierarchyID。

属性值

PerspectiveHierarchy具有指定的 HierarchyID。

例外

集合中不包含具有指定 HierarchyID 的 PerspectiveHierarchy

适用于

Item[Int32]

从集合中的指定索引处获取 PerspectiveHierarchy

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

参数

index
Int32

要返回的 PerspectiveHierarchy 的从零开始的索引。

属性值

指定索引处的 PerspectiveHierarchy

例外

指定的索引不是有效值(小于零或大于元素总数)。

适用于