CommandLineBuilder.EnableLegacyDoubleDashBehavior 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.
Determines the behavior when parsing a double dash (--
) in a command line.
public:
property bool EnableLegacyDoubleDashBehavior { bool get(); void set(bool value); };
public bool EnableLegacyDoubleDashBehavior { get; set; }
member this.EnableLegacyDoubleDashBehavior : bool with get, set
Public Property EnableLegacyDoubleDashBehavior As Boolean
Property Value
Remarks
When set to true
, all tokens following --
will be placed into the UnparsedTokens collection. When set to false
, all tokens following --
will be treated as command arguments, even if they match an existing option.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.