次の方法で共有


MeasureCollection.Item[] プロパティ

定義

オーバーロード

Item[Int32]

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

Item[String]

指定した識別子を持つ Measure をコレクションから取得します。

Item[Int32]

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

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

パラメーター

index
Int32

返される Measure の、0 から始まるインデックスです。

プロパティ値

指定したインデックスにある Measure です。

例外

指定したインデックスが有効な値ではありません (0 未満または要素の合計数より大きい)。

適用対象

Item[String]

指定した識別子を持つ Measure をコレクションから取得します。

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

パラメーター

id
String

返される Measure の識別子です。

プロパティ値

Measure指定した識別子を持つ 。

例外

コレクションには、指定した識別子を持つ Measure が含まれません。

適用対象