Rule.SwitchPrefix 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.
public:
property System::String ^ SwitchPrefix { System::String ^ get(); void set(System::String ^ value); };
public string SwitchPrefix { get; set; }
public string SwitchPrefix { [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.SwitchPrefix : 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.SwitchPrefix : string with get, set
Public Property SwitchPrefix As String
Property Value
Returns the prefix.
- Attributes
Examples
For the VC++ CL task, WholeProgramOptimization
is a boolean parameter. It's switch is GL
and its
switch prefix (inherited from the parent SwitchPrefix since it is not overridden by WholeProgramOptimization
)
is /
. Thus the complete switch in the command line for this property would be /GL
Remarks
The value specified can be overridden by the value specified by a child BaseProperty's SwitchPrefix. This field is optional and culture invariant.