Share via


ICompatibilitySwitch.Value Property

Definition

Gets or set the value associated with the compatibility switch.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public object Value { get; set; }
member this.Value : obj with get, set
Public Property Value As Object

Property Value

Remarks

Setting the switch value using Value will not set IsValueSet to true. This should be used by the compatibility infrastructure when IsValueSet is false to apply a compatibility value based on CompatibilityVersion.

Applies to