CommandLineArgument.ShortNameWithPrefix Property

Gets the short argument name with the primary short prefix.

Definition

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

Property Value

String
The short argument name with its prefix, or null if the Mode property is not LongShort or the HasShortName property is false.

Remarks

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

See Also