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 méthode IndexOf(DirectoryAttribute) retourne l'index de base zéro de la première occurrence de l'objet DirectoryAttribute spécifié dans la collection 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 DirectoryAttribute spécifié, s'il existe ; sinon -1.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour