System.Web.UI.HtmlTextWriter.Close Method

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

Syntax

public override void Close ()

Remarks

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.

Requirements

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