CommandLineParserArgumentNamePrefixes Property

Gets the argument name prefixes used by this instance.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public ImmutableArray<string> ArgumentNamePrefixes { get; }

Property Value

ImmutableArrayString
A list of argument name prefixes.

Remarks

The argument name prefixes are used to distinguish argument names from positional argument values in a command line.

If the Mode property is ParsingModeLongShort, these are the prefixes for short argument names. Use the LongArgumentNamePrefix property to get the prefix for long argument names.

See Also