Description
The Value
property of the CategoryAttribute
class represents the category or group name assigned to a type or type member. This property is used to categorize or group types and members, which can be useful for organizing code and for display purposes in tools that utilize the DisplayInfo library.
Usage
To use the Value
property, you typically apply the CategoryAttribute
to a class, method, or property, specifying a category name. The Value
property then holds this category name, which can be accessed programmatically if needed.
Example
// Example of using CategoryAttribute with the Value property
[Category("Utilities")]
public class UtilityClass
{
// The Value property of the CategoryAttribute applied to this class is "Utilities"
}