MemberDescriptor.Attributes Propriedade

Definição

Obtém a coleção de atributos para este membro.Gets the collection of attributes for this member.

public:
 virtual property System::ComponentModel::AttributeCollection ^ Attributes { System::ComponentModel::AttributeCollection ^ get(); };
public virtual System.ComponentModel.AttributeCollection Attributes { get; }
member this.Attributes : System.ComponentModel.AttributeCollection
Public Overridable ReadOnly Property Attributes As AttributeCollection

Valor da propriedade

AttributeCollection

Um AttributeCollection que fornece os atributos para esse membro ou uma coleção vazia se não houver nenhum atributo no AttributeArray .An AttributeCollection that provides the attributes for this member, or an empty collection if there are no attributes in the AttributeArray.

Comentários

Se não houver nenhum AttributeCollection para esse membro, essa propriedade chamará o CreateAttributeCollection método para criar um novo AttributeCollection usando a matriz de Attribute objetos passada para o construtor.If there is no AttributeCollection for this member, this property calls the CreateAttributeCollection method to create a new AttributeCollection using the array of Attribute objects passed to the constructor.

Aplica-se a

Confira também