ParseOptionsAttributeLongArgumentNamePrefix Property

Gets or sets the argument name 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; set; }

Property Value

String

Remarks

This property is only used if the Mode or ParseOptionsMode property is ParsingModeLongShort, or if the PrefixTermination or ParseOptionsPrefixTermination property is not PrefixTerminationModeNone.

Use the ArgumentNamePrefixes to specify the prefixes for short argument names.

This value can be overridden by the ParseOptionsLongArgumentNamePrefix property.

See Also