Udostępnij za pośrednictwem


Metoda AggregationDimensionCollection.IndexOf (AggregationDimension)

Pobiera indeks określonego AggregationDimension.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function IndexOf ( _
    item As AggregationDimension _
) As Integer
'Użycie
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

Parametry

Wartość zwracana

Typ: System.Int32
Indeksu z AggregationDimension , jeśli obiekt znajduje się; w przeciwnym razie -1.