System.Diagnostics.Switch.OnValueChanged Method

Invoked when the Switch.Value property is changed.

Syntax

protected virtual void OnValueChanged ()

Remarks

The default implementation parses the new value of the Switch.Value property to an integer value which it uses to set the Switch.SwitchSetting property.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0