Disposes of the resources (other than memory) used by the HtmlControlDesigner.
[Visual Basic] Overrides Public Sub Dispose() [C#] public override void Dispose(); [C++] public: override void Dispose(); [JScript] public override function Dispose();
Override this method to free the resources (other than memory) used by the HtmlControlDesigner class.
Call Dispose when you are finished using HtmlControlDesigner. The Dispose method leaves the HtmlControlDesigner in an unusable state. After calling Dispose, you must release all references to the HtmlControlDesigner so the memory it was occupying can be reclaimed by garbage collection.
Note: Always call Dispose before you release your last reference to HtmlControlDesigner. Otherwise, the resources the HtmlControlDesigner is using will not be freed until garbage collection calls the HtmlControlDesigner object's destructor.
HtmlControlDesigner Class | HtmlControlDesigner Members | System.Web.UI.Design Namespace | IDesigner