M_CommandLine_Core_OptionSpecification_NewSwitch - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static OptionSpecification NewSwitch(
string shortName,
string longName,
bool required,
string helpText,
string metaValue,
bool hidden = false
)VB
Public Shared Function NewSwitch (
shortName As String,
longName As String,
required As Boolean,
helpText As String,
metaValue As String,
Optional hidden As Boolean = false
) As OptionSpecificationC++
public:
static OptionSpecification^ NewSwitch(
String^ shortName,
String^ longName,
bool required,
String^ helpText,
String^ metaValue,
bool hidden = false
)F#
static member NewSwitch :
shortName : string *
longName : string *
required : bool *
helpText : string *
metaValue : string *
?hidden : bool
(* Defaults:
let _hidden = defaultArg hidden false
*)
-> OptionSpecification
- shortName
- Type: System.String
- longName
- Type: System.String
- required
- Type: System.Boolean
- helpText
- Type: System.String
- metaValue
- Type: System.String
- hidden (Optional)
- Type: System.Boolean
Type: OptionSpecification