This topic has not yet been rated - Rate this topic

Diagram.Finalize Method

Allows the diagram to try to free resources and perform other cleanup operations before it is reclaimed by the garbage collector. Called by the garbage collector.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected override void Finalize()

This method overrides Finalize. Application code should not call this method. An object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the SuppressFinalize() method.

For more information, see Finalize Methods and Destructors, Cleaning Up Unmanaged Resources, and Overriding the Finalize Method.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ