Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft