Compartir a través de


IndexOf Método (PerspectiveKpi)

Gets the index of a specified PerspectiveKpi.

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

Sintaxis

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

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

Valor devuelto

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