![]() |
![]() |
![]() |
MatrixStack.Disposing Event |
Language: |
Occurs when the Dispose method is called or when the object is finalized and collected by the garbage collector of the Microsoft® .NET common language runtime.
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.
To add an event handler that listens for a MatrixStack.Disposing event, use the following C# code.
[C#]
ms.Disposing += new System.EventHandler(this.DisposingEventHandler);The Dispose property of an object indicates whether that object has been disposed.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center