This documentation is archived and is not being maintained.

MemberDescriptor.Attributes Property

Gets the collection of attributes for this member.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

public virtual AttributeCollection Attributes { get; }
/** @property */
public AttributeCollection get_Attributes ()

public function get Attributes () : AttributeCollection

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0