Microsoft DirectX 9.0 SDK Update (October 2004)

FlangerEffect.Disposing Event

Language:

Note: This documentation is preliminary and is subject to change.

Occurs when the Dispose method is called or when the FlangerEffect object is finalized and collected by the garbage collector of the Microsoft® .NET common language runtime.

Definition

Visual Basic .NET Public Event Disposing As EventHandler
C# public event EventHandler Disposing;
Managed C++ public: __event EventHandler Disposing;
JScript .NET In JScript .NET, you can use events, but you cannot define your own.

Remarks

To add an event handler that listens for the FlangerEffect.Disposing event, use the following code.

obj.Disposing += new System.EventHandler(this.OnDisposing);

The Disposed property of the FlangerEffect object indicates whether that object has been disposed.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center