Compartilhar via


Método IndexOf (MeasureGroupDimension)

Gets the index of a specified MeasureGroupDimension.

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

Sintaxe

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

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

Valor de retorno

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