BaseProperty.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.
The prefix for the switch representation of this property for the case when this property represents a tool parameter.
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
The prefix for the switch representation of this property.
- 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 here overrides the value specified for the parent Rule's SwitchPrefix. This field is optional and culture invariant.