ActionCollection.Item[] 属性

定义

重载

Item[Int32]

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

Item[String]

从集合中获取具有指定标识符的 Action

Item[Int32]

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

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

参数

index
Int32

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

属性值

指定索引处的 Action

例外

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

适用于

Item[String]

从集合中获取具有指定标识符的 Action

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

参数

id
String

要返回的 Action 的标识符。

属性值

Action具有指定标识符的标识符。

例外

集合中不包含具有指定标识符的 Action

适用于