This documentation is archived and is not being maintained.

MemberDescriptor.Category Property

Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.

[Visual Basic]
Public Overridable ReadOnly Property Category As String
public virtual string Category {get;}
public: __property virtual String* get_Category();
public function get Category() : String;

Property Value

The name of the category to which the member belongs. If there is no CategoryAttribute, the category name is set to the default category, Misc.


A visual designer can use this property value to display members in categories.


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 | Description | IsBrowsable | Name