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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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