Partager via


Méthode PerspectiveKpiCollection.IndexOf (PerspectiveKpi)

Gets the index of a specified PerspectiveKpi.

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

Syntaxe

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

Paramètres

Valeur de retour

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

Voir aussi

Référence

PerspectiveKpiCollection Classe

Surcharge IndexOf

Espace de noms Microsoft.AnalysisServices