Description
The Value
property of the CategoryAttribute
class is a string
that represents the category or group name assigned to a type or type member. This categorization can be used to organize and retrieve information about types and members using 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 will hold "Utilities" for this class
}