CommandLineArgumentAttributeArgumentName Property

Gets the name of the 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 that can be used to supply the argument, or if the member name should be used.

Remarks

If the CommandLineParserMode property is ParsingModeLongShort, this is the long name of the argument.

If the CommandLineParserMode property is ParsingModeLongShort and the IsLong property is , the ArgumentName property is ignored.

See Also