Export (0) Print
Expand All

MemberDescriptor.Attributes Property

Gets the collection of attributes for this member.

[Visual Basic]
Public Overridable ReadOnly Property Attributes As _
   AttributeCollection
[C#]
public virtual AttributeCollection Attributes {get;}
[C++]
public: __property virtual AttributeCollection* get_Attributes();
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft