WriteUsageOptionsUseWhiteSpaceValueSeparator Property |
Gets or sets a value indicating whether white space, rather than a colon, is used to separate named arguments and their values
in the command line syntax.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic bool UseWhiteSpaceValueSeparator { get; set; }
Public Property UseWhiteSpaceValueSeparator As Boolean
Get
Set
Dim instance As WriteUsageOptions
Dim value As Boolean
value = instance.UseWhiteSpaceValueSeparator
instance.UseWhiteSpaceValueSeparator = value
public:
property bool UseWhiteSpaceValueSeparator {
bool get ();
void set (bool value);
}
Property Value
Type:
Boolean if the command line syntax uses a white space value separator;
if it uses a colon.
The default value is
.
Remarks
If this property is , an argument would be formatted in the command line syntax as "-name <Value>" (using
default formatting), with a white space character separating the argument name and value description. If this property is ,
it would be formatted as "-name:<Value>", using a colon as the separator.
The command line syntax will only use a white space character as the value separator if both the AllowWhiteSpaceValueSeparator property
and the UseWhiteSpaceValueSeparator property are true.
See Also