Редагувати

Поділитися через


Application.OnExit(ExitEventArgs) Method

Definition

Raises the Exit event.

protected:
 virtual void OnExit(System::Windows::ExitEventArgs ^ e);
protected virtual void OnExit (System.Windows.ExitEventArgs e);
abstract member OnExit : System.Windows.ExitEventArgs -> unit
override this.OnExit : System.Windows.ExitEventArgs -> unit
Protected Overridable Sub OnExit (e As ExitEventArgs)

Parameters

e
ExitEventArgs

An ExitEventArgs that contains the event data.

Remarks

OnExit raises the Exit event.

A type that derives from Application may override the OnExit method. The overridden method must call OnExit in the base class if Exit needs to be raised.

Applies to

See also