HttpCapabilitiesBase.CreateHtmlTextWriter Method (TextWriter)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: