Nyelv

MemberDescriptor.Attributes Tulajdonság

Definíció

Lekéri a tag attribútumgyűjteményét.

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

Tulajdonság értéke

Olyan AttributeCollection , amely a tag attribútumait tartalmazza, vagy egy üres gyűjteményt, ha nincsenek attribútumok a AttributeArraytagban.

Megjegyzések

Ha nincs AttributeCollection ilyen tag, ez a tulajdonság meghívja a CreateAttributeCollection metódust, hogy hozzon létre egy újat AttributeCollection a konstruktornak átadott objektumok tömbjének Attribute használatával.

A következőre érvényes:

Lásd még