IndexOf メソッド (Aggregation)
指定した Aggregation のインデックスを取得します。
名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)
構文
'宣言
Public Function IndexOf ( _
item As Aggregation _
) As Integer
'使用
Dim instance As AggregationCollection
Dim item As Aggregation
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Aggregation item
)
public:
int IndexOf(
Aggregation^ item
)
member IndexOf :
item:Aggregation -> int
public function IndexOf(
item : Aggregation
) : int
パラメーター
- item
型: Microsoft.AnalysisServices. . :: . .Aggregation
取得する Aggregation です。
戻り値
型: System. . :: . .Int32
オブジェクトが見つかった場合は Aggregation の 0 から始まるインデックス、見つからない場合は -1 です。