Argument.CaptureRemainingTokens 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 or sets a value indicating whether this argument captures all remaining tokens.
public:
property bool CaptureRemainingTokens { bool get(); void set(bool value); };
public bool CaptureRemainingTokens { get; set; }
member this.CaptureRemainingTokens : bool with get, set
Public Property CaptureRemainingTokens As Boolean
Property Value
Remarks
When set to true, once the parser starts filling this argument, all subsequent tokens are consumed as argument values regardless of whether they match known options or commands. This behaves as if -- were implicitly inserted before the argument's first value.
An argument with this property set to true must be the last argument defined on its parent command.