BoolProperty.ReverseSwitch 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.
Represents the logical negation of a boolean switch.
public:
property System::String ^ ReverseSwitch { System::String ^ get(); void set(System::String ^ value); };
public string ReverseSwitch { get; set; }
public string ReverseSwitch { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.ReverseSwitch : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ReverseSwitch : string with get, set
Public Property ReverseSwitch As String
Property Value
true
if the value is logically negated; otherwise, false
.
- Attributes
Examples
For the VC++ CL task, WholeProgramOptimization
is a boolean parameter. It's switch is GL
. To
disable whole program optimization, you need to pass the ReverseSwitch, which is GL-
.
This field is optional.