Share via


AggregationInstanceAttributeCollection.IndexOf メソッド

定義

オーバーロード

IndexOf(AggregationInstanceAttribute)

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

IndexOf(String)

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

IndexOf(AggregationInstanceAttribute)

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

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

パラメーター

item
AggregationInstanceAttribute

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

戻り値

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

適用対象

IndexOf(String)

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

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

パラメーター

attributeId
String

コレクション内で検索する AggregationInstanceAttribute の AttributeID です。

戻り値

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

適用対象