HttpCapabilitiesBase::CreateHtmlTextWriter Method (TextWriter^)

 

Creates a new instance of the HtmlTextWriter to be used.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
HtmlTextWriter^ CreateHtmlTextWriter(
	TextWriter^ w
)

Parameters

w
Type: System.IO::TextWriter^

TextWriter to be created.

Return Value

Type: System.Web.UI::HtmlTextWriter^

A new instance of the HtmlTextWriter to be used.

Exception Condition
Exception

The method failed to create an instance of HtmlTextWriter.

.NET Framework
Available since 2.0
Return to top
Show: