HtmlTextWriter.Close Method ()


Closes the HtmlTextWriter object and releases any system resources associated with it.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override void Close()

This implementation of the Close method calls the TextWriter.Close base method.

Following a call to the Close method, any operations on the HtmlTextWriter object might throw exceptions because all its resources have been released.

.NET Framework
Available since 1.1
Return to top