次の方法で共有


AggregationDesignCollection.IndexOf メソッド (AggregationDesign)

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

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

構文

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

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

パラメーター

戻り値

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

関連項目

参照

AggregationDesignCollection クラス

IndexOf オーバーロード

Microsoft.AnalysisServices 名前空間