次の方法で共有


AggregationDimensionCollection.IndexOf メソッド (AggregationDimension)

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

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

構文

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

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

パラメーター

戻り値

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

関連項目

参照

AggregationDimensionCollection クラス

IndexOf オーバーロード

Microsoft.AnalysisServices 名前空間