Documentation for the C# command-line option parsing library

OptionDefinition Properties

The properties of the OptionDefinition class are listed below. For a complete list of OptionDefinition class members, see the OptionDefinition Members topic.

Public Instance Properties

Category Get or set the category of the option
DefaultValue Default value of the option
Description Get the user-friendly description of this option
ID Get the ID for this option
LongNames Get the long names for this option
ShortNames Get the short names for this option
Type Get the type of value the option takes
ValueType Get the type of value that the option supports (if values are supported)

See Also

OptionDefinition Class | CommandLine.OptParse Namespace