Partager via


CommandCollection.IndexOf(Command) Méthode

Définition

Recherche le Command spécifié et retourne son index de base zéro dans la collection.

public int IndexOf (Microsoft.AnalysisServices.Command item);
member this.IndexOf : Microsoft.AnalysisServices.Command -> int
Public Function IndexOf (item As Command) As Integer

Paramètres

item
Command

Command à rechercher.

Retours

Index de base zéro de l’objet Command dans la collection, s’il est trouvé ; sinon, -1.

S’applique à