CommandLineParserLongArgumentNamePrefix 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 if the Mode property is not ParsingModeLongShort and the ParseOptionsPrefixTermination property is PrefixTerminationModeNone.

Remarks

The long argument prefix is only used if the Mode property is ParsingModeLongShort, or if the ParseOptionsPrefixTermination property is not PrefixTerminationModeNone. See ArgumentNamePrefixes to get the prefixes for short argument names, or for all argument names if the Mode property is ParsingModeDefault.

See Also