CommandLineArgumentArgumentNameWithPrefix Property

Gets the name of this argument, with the appropriate argument name prefix.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public string ArgumentNameWithPrefix { get; }

Property Value

String
The name of the argument, with an argument name prefix.

Remarks

If the CommandLineParserMode property is ParsingModeLongShort, this will use the long name with the long argument prefix if the argument has a long name, and the short name with the primary short argument prefix if not.

For ParsingModeDefault, the prefix used is the first prefix specified in the CommandLineParserArgumentNamePrefixes property.

See Also