Compartilhar via


Método PerspectiveMeasureGroupCollection.IndexOf (String)

Gets the index of a PerspectiveMeasureGroup, with the specified identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function IndexOf ( _
    measureGroupId As String _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System.Int32
The zero-based index of the PerspectiveMeasureGroup specified by measureGroupID if the object is found; otherwise, -1.

Consulte também

Referência

PerspectiveMeasureGroupCollection Classe

Sobrecarregado IndexOf

Namespace Microsoft.AnalysisServices