ChtmlMobileTextWriter Constructor (TextWriter, MobileCapabilities)

 

Initializes a new instance of the ChtmlMobileTextWriter class for a given device, using the writer parameter as the base writer object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

new : 
        writer:TextWriter *
        device:MobileCapabilities -> ChtmlMobileTextWriter

Parameters

writer
Type: System.IO.TextWriter

The base text writer object.

device
Type: System.Web.Mobile.MobileCapabilities

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

Writers are generally created by a corresponding page adapter.

.NET Framework
Available since 1.1
Return to top
Show: