CommandLineArgumentShortNameWithPrefix Property

Gets the short argument name with the primary short prefix.

Definition

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

Property Value

String
The short argument name with its prefix, or if the CommandLineParserMode property is not ParsingModeLongShort or the HasShortName property is .

Remarks

The prefix used is the first prefix specified in the CommandLineParserArgumentNamePrefixes property.

See Also