Option.AllowMultipleArgumentsPerToken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether multiple argument tokens are allowed for each option identifier token.
public:
property bool AllowMultipleArgumentsPerToken { bool get(); void set(bool value); };
public bool AllowMultipleArgumentsPerToken { get; set; }
member this.AllowMultipleArgumentsPerToken : bool with get, set
Public Property AllowMultipleArgumentsPerToken As Boolean
Property Value
Examples
If set to true
, the following command line is valid for passing multiple arguments:
> --opt 1 2 3
The following is equivalent and is always valid:
> --opt 1 --opt 2 --opt 3
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.