DirectoryControlCollection.IndexOf(DirectoryControl) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
La IndexOf(DirectoryControl) méthode retourne l’index de base zéro de la première occurrence de l’objet spécifié DirectoryControl dans le DirectoryControlCollection.
public:
int IndexOf(System::DirectoryServices::Protocols::DirectoryControl ^ value);
public int IndexOf(System.DirectoryServices.Protocols.DirectoryControl value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryControl -> int
Public Function IndexOf (value As DirectoryControl) As Integer
Paramètres
- value
- DirectoryControl
Objet DirectoryControl pour lequel l’index est retourné.
Retours
Valeur d’index de l’objet spécifié DirectoryControl , s’il est trouvé ; sinon, -1.