次の方法で共有


ActionCollection.Item プロパティ (Int32)

指定したインデックスにある Action をコレクションから取得します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Action 
    Get
'使用
Dim instance As ActionCollection 
Dim index As Integer 
Dim value As Action 

value = instance(index)
public Action this[
    int index
] { get; }
public:
property Action^ default[int index] {
    Action^ get (int index);
}
member Item : Action
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • index
    型: System.Int32
    取得する Action の、0 から始まるインデックスです。

プロパティ値

型: Microsoft.AnalysisServices.Action
指定したインデックスにある Action です。

例外

例外 条件
ArgumentOutOfRangeException

index に 0 より小さい値が指定されています。

-または-

index に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

関連項目

参照

ActionCollection クラス

Item オーバーロード

Microsoft.AnalysisServices 名前空間