HttpBrowserCapabilitiesWrapper.CreateHtmlTextWriter Method

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.

ExceptionCondition
Exception

An error occurred when creating the HtmlTextWriter object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft