次の方法で共有


Item プロパティ (Int32)

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

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

構文

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

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

パラメーター

プロパティ値

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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