Closes the System.Web.UI.HtmlTextWriter object and releases any system resources associated with it.
This implementation of the HtmlTextWriter.Close method calls the System.IO.TextWriter.Close base method.
Following a call to the HtmlTextWriter.Close method, any operations on the System.Web.UI.HtmlTextWriter object might throw exceptions because all its resources have been released.