HtmlTextWriter.Close Method

Definition

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

public:
 override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()

Remarks

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