Edit

Share via


ChtmlMobileTextWriter(TextWriter, MobileCapabilities) Constructor

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 ChtmlMobileTextWriter(System::IO::TextWriter ^ writer, System::Web::Mobile::MobileCapabilities ^ device);
public ChtmlMobileTextWriter (System.IO.TextWriter writer, System.Web.Mobile.MobileCapabilities device);
new System.Web.UI.MobileControls.Adapters.ChtmlMobileTextWriter : System.IO.TextWriter * System.Web.Mobile.MobileCapabilities -> System.Web.UI.MobileControls.Adapters.ChtmlMobileTextWriter
Public Sub New (writer As TextWriter, device As MobileCapabilities)

Parameters

writer
TextWriter

The base text writer object.

device
MobileCapabilities

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

Remarks

Writers are generally created by a corresponding page adapter.

Applies to

See also