This documentation is archived and is not being maintained.

Switch.OnSwitchSettingChanged Method

Raises the SwitchSettingChanged event.

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


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.


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