MeasureCollection.IndexOf メソッド (Measure)

指定した Measure のインデックスを取得します。

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

構文

'宣言
Public Function IndexOf ( _
    item As Measure _
) As Integer
'使用
Dim instance As MeasureCollection 
Dim item As Measure 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    Measure item
)
public:
int IndexOf(
    Measure^ item
)
member IndexOf : 
        item:Measure -> int
public function IndexOf(
    item : Measure
) : int

パラメーター

戻り値

型: System.Int32
オブジェクトが見つかった場合は Measure の 0 から始まるインデックス、見つからない場合は -1 です。

関連項目

参照

MeasureCollection クラス

IndexOf オーバーロード

Microsoft.AnalysisServices 名前空間