Share via


DesignSurfaceExtension.Finalize Method

This member overrides Object.Finalize(), and more complete documentation might be available in that topic.

Destroys the object.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
protected override void Finalize()
protected:
virtual void Finalize() override
abstract Finalize : unit -> unit 
override Finalize : unit -> unit 
protected override function Finalize()

Remarks

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 [GC.SuppressFinalize] method.

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

.NET Framework Security

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace