MemberDescriptor.CreateAttributeCollection 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.
Crée une collection d'attributs à l'aide du tableau d'attributs passé au constructeur.
protected:
virtual System::ComponentModel::AttributeCollection ^ CreateAttributeCollection();
protected virtual System.ComponentModel.AttributeCollection CreateAttributeCollection ();
abstract member CreateAttributeCollection : unit -> System.ComponentModel.AttributeCollection
override this.CreateAttributeCollection : unit -> System.ComponentModel.AttributeCollection
Protected Overridable Function CreateAttributeCollection () As AttributeCollection
Retours
Nouveau AttributeCollection qui contient les attributs AttributeArray.
Remarques
Cette méthode est appelée à partir de la Attributes propriété lorsqu’il n’y a pas AttributeCollection pour ce membre. S’il n’y a pas d’attributs dans , AttributeArraycela retourne un vide AttributeCollection.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour