This documentation is archived and is not being maintained.

MemberDescriptor.Attributes Property

Gets the collection of attributes for this member.

[Visual Basic]
Public Overridable ReadOnly Property Attributes As _
public virtual AttributeCollection Attributes {get;}
public: __property virtual AttributeCollection* get_Attributes();
public function get Attributes() : AttributeCollection;

Property Value

An AttributeCollection that provides the attributes for this member. If there are no attributes in the AttributeArray, the property value is an empty collection.


If there is no AttributeCollection for this member, this property calls CreateAttributeCollection to create a new AttributeCollection using the array of Attribute objects passed to the constructor.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace | AttributeArray