System.Web.UI.Design.TemplateEditingVerb.Finalize Method

Attempts to free resources before the object is reclaimed by garbage collection.

Syntax

void Finalize ()

Remarks

This method overrides object.Finalize and cleans up resources by calling Dispose(false). Override Dispose(Boolean) to customize the cleanup.

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(object) method.

For more information, see [<topic://cpconFinalizeMethodscDestructors>], Cleaning Up Unmanaged Resources, and [<topic://cpconOverridingFinalizeMethod>].

Note:

The System.Web.UI.Design.TemplateEditingVerb class is obsolete. Expose templates through the ControlDesigner.TemplateGroups property of a control designer. The design host creates a System.Web.UI.Design.TemplatedEditableDesignerRegion for each System.Web.UI.Design.TemplateGroup defined for a control designer.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0