DirectoryAttributeCollection.IndexOf(DirectoryAttribute) 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(DirectoryAttribute) méthode retourne l’index de base zéro de la première occurrence de l’objet spécifié DirectoryAttribute dans le DirectoryAttributeCollection.
public:
int IndexOf(System::DirectoryServices::Protocols::DirectoryAttribute ^ value);
public int IndexOf(System.DirectoryServices.Protocols.DirectoryAttribute value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryAttribute -> int
Public Function IndexOf (value As DirectoryAttribute) As Integer
Paramètres
- value
- DirectoryAttribute
Objet DirectoryAttribute pour lequel l’index est retourné.
Retours
Valeur d’index de l’objet spécifié DirectoryAttribute , s’il est trouvé ; sinon, -1.