SettingChangingEventHandler SettingChangingEventHandler SettingChangingEventHandler SettingChangingEventHandler Delegate

Definition

Represents the method that will handle the SettingChanging event.

public delegate void SettingChangingEventHandler(System::Object ^ sender, SettingChangingEventArgs ^ e);
public delegate void SettingChangingEventHandler(object sender, SettingChangingEventArgs e);
type SettingChangingEventHandler = delegate of obj * SettingChangingEventArgs -> unit
Public Delegate Sub SettingChangingEventHandler(sender As Object, e As SettingChangingEventArgs)
Parameters
sender

The source of the event, typically an application settings wrapper class derived from the ApplicationSettingsBase class.

e

A SettingChangingEventArgs containing the data for the event.

Inheritance
SettingChangingEventHandlerSettingChangingEventHandlerSettingChangingEventHandlerSettingChangingEventHandler

Remarks

The SettingChanging event occurs before the value of an application settings property is changed, typically through a call to the Item[String] method. SettingChanging can be canceled through the SettingChangingEventArgs event data class.

Applies to

See Also