CreateHtmlTextWriter Method

MobilePage.CreateHtmlTextWriter Method

Creates an HtmlTextWriter object to render the page's content.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in

protected override HtmlTextWriter CreateHtmlTextWriter (
	TextWriter writer
protected HtmlTextWriter CreateHtmlTextWriter (
	TextWriter writer
protected override function CreateHtmlTextWriter (
	writer : TextWriter
) : HtmlTextWriter



The TextWriter used to create the HtmlTextWriter.

Return Value

An HtmlTextWriter or a text writer derived from HtmlTextWriter, such as Html32TextWriter, WmlTextWriter, ChtmlTextWriter, or XhtmlTextWriter.

The type of writer created is determined by the adapter associated with the current mobile device. For more information about how to map adapters to devices, see Adapter Mappings.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

© 2016 Microsoft