RoleCollection.Item プロパティ (Int32)

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

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

構文

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

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

パラメーター

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

プロパティ値

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

関連項目

参照

RoleCollection クラス

Item オーバーロード

Microsoft.AnalysisServices 名前空間