CommandLineArgumentArgumentName Property

Gets the name of this argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public string ArgumentName { get; }

Property Value

String
The name of this argument.

Remarks

This name is used to supply an argument value by name on the command line, and to describe the argument in the usage help generated by CommandLineParserWriteUsage(UsageWriter).

If the CommandLineParserMode property is ParsingModeLongShort, and the HasLongName property is , this returns the short name of the argument. Otherwise, it returns the long name.

See Also