次の方法で共有


AggregationInstanceMeasureCollection.IndexOf メソッド

定義

オーバーロード

IndexOf(AggregationInstanceMeasure)

指定した AggregationInstanceMeasure を検索し、コレクション内で見つかった場合はその 0 から始まるインデックスを返します。

IndexOf(String)

指定した MeasureID を持つ AggregationInstanceMeasure を検索し、コレクション内で見つかった場合はその 0 から始まるインデックスを返します。

IndexOf(AggregationInstanceMeasure)

指定した AggregationInstanceMeasure を検索し、コレクション内で見つかった場合はその 0 から始まるインデックスを返します。

public int IndexOf (Microsoft.AnalysisServices.AggregationInstanceMeasure item);
override this.IndexOf : Microsoft.AnalysisServices.AggregationInstanceMeasure -> int
Public Function IndexOf (item As AggregationInstanceMeasure) As Integer

パラメーター

item
AggregationInstanceMeasure

コレクション内で検索する AggregationInstanceMeasure

戻り値

コレクション内で見つかった場合は AggregationInstanceMeasure の 0 から始まるインデックス、それ以外の場合は -1 です。

適用対象

IndexOf(String)

指定した MeasureID を持つ AggregationInstanceMeasure を検索し、コレクション内で見つかった場合はその 0 から始まるインデックスを返します。

public int IndexOf (string measureId);
override this.IndexOf : string -> int
Public Function IndexOf (measureId As String) As Integer

パラメーター

measureId
String

コレクション内で検索する AggregationInstanceMeasure の MeasureID です。

戻り値

コレクション内で見つかった場合は AggregationInstanceMeasure の 0 から始まるインデックス、それ以外の場合は -1 です。

適用対象