MultiValueSeparatorAttributeSeparator Property

Gets the separator for the values of a multi-value argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public virtual string? Separator { get; }

Property Value

String
The separator for the argument values, or to indicate that white-space separators are allowed.

Remarks

  Note

If you specify a separator for a multi-value argument, it will not be possible to use the separator character in the individual argument values. There is no way to escape it.

A multi-value argument that allows white-space separators is able to consume multiple values from the command line that follow it. All values that follow the name, up until the next argument name, are considered values for this argument.

See Also