CompatibilitySwitch<TValue>.Value 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.
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.