CommandLineParserArgumentNamePrefixes Property

Gets the argument name prefixes used by this instance.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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