PerspectiveAttributeCollection.Item[] 属性

定义

重载

Item[String]

从集合中获取具有指定 AttributeID 的 PerspectiveAttribute

Item[Int32]

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

Item[String]

从集合中获取具有指定 AttributeID 的 PerspectiveAttribute

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

参数

attributeId
String

要返回的 PerspectiveAttribute 的 AttributeID。

属性值

具有指定 AttributeID 的 PerspectiveAttribute

例外

集合中不包含具有指定 AttributeID 的 PerspectiveAttribute

适用于

Item[Int32]

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

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

参数

index
Int32

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

属性值

指定索引处的 PerspectiveAttribute

例外

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

适用于