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.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour