public Object? DefaultArgumentCategory { get; set; }
Public Property DefaultArgumentCategory As Object
Get
Set
Dim instance As ParseOptionsAttribute
Dim value As Object
value = instance.DefaultArgumentCategory
instance.DefaultArgumentCategory = value
public:
property Object^ DefaultArgumentCategory {
Object^ get ();
void set (Object^ value);
}
The category must be an Enum value, and all arguments defined by a class (including any defined by its base classes) must use the same type. The CommandLineParser class will throw an exception if this is not the case.
This category will be used for arguments where the CommandLineArgumentAttributeCategory property is , and for the automatically generated help and version arguments.
Argument categories are used to group argument in the usage help; they are not used when parsing. The default UsageWriter will sort the categories based on their underlying enumeration values,
NotSupportedException | When setting the property, the type of the value is not an enumeration type. |