MemberDescriptor.Category Property

 

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

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

abstract Category : string with get
override Category : string with get

Property Value

Type: System.String

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.

.NET Framework
Available since 1.1
Return to top
Show: