Compartilhar via


Método MeasureGroupAttributeCollection.IndexOf (MeasureGroupAttribute)

Gets the index of a specified MeasureGroupAttribute.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As MeasureGroupAttribute _
) As Integer
'Uso
Dim instance As MeasureGroupAttributeCollection 
Dim item As MeasureGroupAttribute 
Dim returnValue As Integer 

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

Parâmetros

Valor de retorno

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

Consulte também

Referência

MeasureGroupAttributeCollection Classe

Sobrecarregado IndexOf

Namespace Microsoft.AnalysisServices