MemberDescriptor.Attributes Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the collection of attributes for this member.

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

Public Overridable ReadOnly Property Attributes As AttributeCollection

Property Value

Type: System.ComponentModel.AttributeCollection

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.

.NET Framework
Available since 1.1
Return to top
Show: