ParseOptionsAttributeArgumentNamePrefixes Property

Gets or sets the prefixes that can be used to specify an argument name on the command line.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public string[]? ArgumentNamePrefixes { get; set; }

Property Value

String
An array of prefixes, or to use the value of CommandLineParserGetDefaultArgumentNamePrefixes. The default value is .

Remarks

If the Mode or ParseOptionsMode property is ParsingModeLongShort, this property indicates the short argument name prefixes. Use LongArgumentNamePrefix to set the argument prefix for long names.

This value can be overridden by the ParseOptionsArgumentNamePrefixes property.

See Also