Export (0) Print
Expand All

Switch.OnSwitchSettingChanged Method

Raises the SwitchSettingChanged event.

[Visual Basic]
Protected Overridable Sub OnSwitchSettingChanged()
[C#]
protected virtual void OnSwitchSettingChanged();
[C++]
protected: virtual void OnSwitchSettingChanged();
[JScript]
protected function OnSwitchSettingChanged();

Remarks

The SwitchSettingChanged event is raised any time the SwitchSetting property is changed. It is invoked the first time a switch reads its value from the configuration file and is invoked again each time the switch's value is changed.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Switch Class | Switch Members | System.Diagnostics Namespace

Show:
© 2015 Microsoft