CommandLineArgumentArgumentName Property

Gets the name of this argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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