EnumValue.Switch 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 switch representation of this property for the case when the parent EnumProperty represents a tool parameter.
public:
property System::String ^ Switch { System::String ^ get(); void set(System::String ^ value); };
public string Switch { get; set; }
public string Switch { [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.Switch : 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.Switch : string with get, set
Public Property Switch As String
Property Value
The switch representation.
- Attributes
Examples
The VC compiler has an EnumProperty named Optimization
used to specify the desired optimization type. All the
admissible values for this property have switches, e.g. Disabled
(switch = Od
), "MinimumSize" (switch = O1
),
etc.
Remarks
This field is optional and culture invariant.