Edit

Share via


iPhoneOSGameView.OnDisposed(EventArgs) Method

Definition

Raises the Disposed event.

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

Parameters

e
EventArgs

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

Remarks

The OnDisposed 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 OnDisposed in a derived class, be sure to call the base class's OnDisposed method so that registered delegates receive the event. </block>

Applies to