CommandLineParser.LongArgumentNamePrefix Property

Gets the prefix to use for long argument names.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public string? LongArgumentNamePrefix { get; }

Property Value

String
The prefix for long argument names, or null if the Mode property is not ParsingMode.LongShort and the ParseOptions.PrefixTermination property is PrefixTerminationMode.None.

Remarks

The long argument prefix is only used if the Mode property is ParsingMode.LongShort, or if the ParseOptions.PrefixTermination property is not PrefixTerminationMode.None. See ArgumentNamePrefixes to get the prefixes for short argument names, or for all argument names if the Mode property is ParsingMode.Default.

See Also