HtmlTextWriter.Close Method


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

 override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub 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.

Applies to

See also