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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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