Redigera

Dela via


WmlMobileTextWriter(TextWriter, MobileCapabilities, MobilePage) Constructor

Definition

Creates a new instance of the specified class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Parameters

writer
TextWriter

The base writer object.

device
MobileCapabilities

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

page
MobilePage

The mobile page to write to.

Remarks

Adapters are usually constructed automatically by ASP.NET, and must have a parameterless constructor.

Applies to

See also