Dela via


CompatibilitySwitch<TValue>.Value Property

Definition

Gets or set the value associated with the compatibility switch.

public:
 property TValue Value { TValue get(); void set(TValue value); };
public TValue Value { get; set; }
member this.Value : 'Value with get, set
Public Property Value As TValue

Property Value

TValue

Remarks

Setting the switch value using Value will set IsValueSet to true. As a consequence, the compatibility infrastructure will consider this switch explicitly configured by the application developer, and will not apply a default value based on the compatibility version.

Applies to