HttpBrowserCapabilitiesWrapper.CreateHtmlTextWriter Method (TextWriter)

 

Creates a new instance of the HtmlTextWriter object to use to render markup to the browser.

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

public override HtmlTextWriter CreateHtmlTextWriter(
	TextWriter w
)

Parameters

w
Type: System.IO.TextWriter

The object to be created.

Return Value

Type: System.Web.UI.HtmlTextWriter

A new instance of the object.

Exception Condition
Exception

An error occurred when creating the HtmlTextWriter object.

.NET Framework
Available since 3.5
Return to top
Show: