CommandLineBuilder.EnableLegacyDoubleDashBehavior 属性

定义

确定在命令行中分析双短划线 (--) 时的行为。

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

属性值

注解

当设置为 true时,以下 -- 所有标记都将放入集合中 UnparsedTokens 。 如果设置为 false,则后面的 -- 所有标记都将被视为命令参数,即使它们与现有选项匹配。

适用于