GroupCollection.IndexOf メソッド

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

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

構文

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

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

パラメーター

戻り値

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

関連項目

参照

GroupCollection クラス

Microsoft.AnalysisServices 名前空間