Edit

Share via


iPhoneOSGameView.OnUnload(EventArgs) Method

Definition

Raises the Unload event.

protected virtual void OnUnload(EventArgs e);
abstract member OnUnload : EventArgs -> unit
override this.OnUnload : EventArgs -> unit

Parameters

e
EventArgs

An T:System.EventArgs that contains the event data.

Remarks

The OnUnload method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

<block subset="none" type="overrides"> When overriding OnUnload in a derived class, be sure to call the base class's OnUnload method so that registered delegates receive the event. </block>

Applies to