共用方式為


Window.OnDestroying Method

Definition

protected:
 virtual void OnDestroying();
protected virtual void OnDestroying ();
abstract member OnDestroying : unit -> unit
override this.OnDestroying : unit -> unit
Protected Overridable Sub OnDestroying ()

Applies to