MemberDescriptor.Category 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 name of the category to which the member belongs, as specified in the CategoryAttribute.

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

public virtual string Category { 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: