Udostępnij za pośrednictwem


Metoda PerspectiveMeasureGroupCollection.IndexOf (String)

Pobiera indeks PerspectiveMeasureGroup, z określonym identyfikatorem.

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

Składnia

'Deklaracja
Public Function IndexOf ( _
    measureGroupId As String _
) As Integer
'Użycie
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim returnValue As Integer

returnValue = instance.IndexOf(measureGroupId)
public int IndexOf(
    string measureGroupId
)
public:
int IndexOf(
    String^ measureGroupId
)
member IndexOf : 
        measureGroupId:string -> int 
public function IndexOf(
    measureGroupId : String
) : int

Parametry

Wartość zwracana

Typ: System.Int32
Indeks od zera PerspectiveMeasureGroup określonych przez measureGroupID , jeśli obiekt znajduje się; w przeciwnym razie -1.