CommandLineParserArgumentNamePrefixes Property

Gets the argument name prefixes used by this instance.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
C#
public ReadOnlyCollection<string> ArgumentNamePrefixes { get; }

Property Value

ReadOnlyCollectionString
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.

These prefixes will be used for short argument names if the Mode property is LongShort. Use LongArgumentNamePrefix to get the prefix for long argument names.

See Also