DirectoryAttributeCollection.Add(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 Add(DirectoryAttribute) ajoute un objet DirectoryAttribute à la collection.
public:
int Add(System::DirectoryServices::Protocols::DirectoryAttribute ^ attribute);
public int Add (System.DirectoryServices.Protocols.DirectoryAttribute attribute);
member this.Add : System.DirectoryServices.Protocols.DirectoryAttribute -> int
Public Function Add (attribute As DirectoryAttribute) As Integer
Paramètres
- attribute
- DirectoryAttribute
Objet DirectoryAttribute à ajouter.
Retours
Index de base zéro de l'emplacement dans la collection où DirectoryAttribute a été ajouté.
Exceptions
attribute
est une référence Null (Nothing
en Visual Basic).
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