編輯

共用方式為


SettingsSavingEventHandler Delegate

Definition

Represents the method that will handle the SettingsSaving event.

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

Parameters

sender
Object

The source of the event, typically a data container or data-bound collection.

e
CancelEventArgs

A CancelEventArgs that contains the event data.

Remarks

The SettingsSaving event occurs just before a group of application settings are persisted, typically during the execution of the Save method of a wrapper class derived from ApplicationSettingsBase.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also