次の方法で共有


IndexOf メソッド (Cube)

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

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

構文

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

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

パラメーター

戻り値

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