XhtmlMobileTextWriter Constructor

Note: This constructor is new in the .NET Framework version 2.0.

Initializes a new instance of the ChtmlMobileTextWriter class, using the writer parameter as the base writer object, and for the provided device.

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

public:
XhtmlMobileTextWriter (
	TextWriter^ writer, 
	MobileCapabilities^ device
)
public XhtmlMobileTextWriter (
	TextWriter writer, 
	MobileCapabilities device
)
public function XhtmlMobileTextWriter (
	writer : TextWriter, 
	device : MobileCapabilities
)

Parameters

writer

The base writer object, usually an HtmlTextWriter object.

device

An object of MobileCapabilities class that provides the capability information for the target device.

Text writers are instantiated by a corresponding page adapter for a specific target device, and then used by the page adapter and the adapters for each control on the page.

This class is used primarily by developers of custom mobile page and control adapters.

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

Community Additions

ADD
Show: