MemberDescriptor.Attributes MemberDescriptor.Attributes MemberDescriptor.Attributes MemberDescriptor.Attributes Property

Definition

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

Property Value

An AttributeCollection that provides the attributes for this member, or an empty collection if there are no attributes in the AttributeArray.

Remarks

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.

Applies to

See also