EnumValue.Switch Property

Definition

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 Optimizationused 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.

Applies to