Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual void Close() override

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
Show:
© 2017 Microsoft