Partager via


Méthode IndexOf (MeasureGroupDimension)

Gets the index of a specified MeasureGroupDimension.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As MeasureGroupDimension _
) As Integer
'Utilisation
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

Valeur de retour

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