HelpOptionAttribute Constructor (Char, String) |
Initializes a new instance of the
HelpOptionAttribute class.
Allows you to define short and long option names.
Namespace: X3Platform.CommandLineAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic HelpOptionAttribute(
char shortName,
string longName
)
public:
HelpOptionAttribute(
wchar_t shortName,
String^ longName
)
Parameters
- shortName
- Type: SystemChar
The short name of the option. - longName
- Type: SystemString
The long name of the option or null if not used.
Remarks
It's highly not recommended change the way users invoke help. It may create confusion.
See Also