Compartir a través de


IndexOf Método (Level)

Gets the index of a specified Level.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    item As Level _
) As Integer
'Uso
Dim instance As LevelCollection
Dim item As Level
Dim returnValue As Integer

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

Parámetros

Valor devuelto

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