Export (0) Print
Expand All

MobilePage.CreateHtmlTextWriter Method

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

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected override HtmlTextWriter CreateHtmlTextWriter (
	TextWriter writer
)
protected HtmlTextWriter CreateHtmlTextWriter (
	TextWriter writer
)
protected override function CreateHtmlTextWriter (
	writer : TextWriter
) : HtmlTextWriter
Not applicable.

Parameters

writer

The TextWriter used to create the HtmlTextWriter.

Return Value

An HtmlTextWriter or a text writer derived from HtmlTextWriter, such as HtmlMobileTextWriter, WmlMobileTextWriter, ChtmlMobileTextWriter, or XhtmlMobileTextWriter.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2015 Microsoft