Redigera

Dela via


MobileTextWriter(TextWriter, MobileCapabilities) 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:
 MobileTextWriter(System::IO::TextWriter ^ writer, System::Web::Mobile::MobileCapabilities ^ device);
public MobileTextWriter (System.IO.TextWriter writer, System.Web.Mobile.MobileCapabilities device);
new System.Web.UI.MobileControls.Adapters.MobileTextWriter : System.IO.TextWriter * System.Web.Mobile.MobileCapabilities -> System.Web.UI.MobileControls.Adapters.MobileTextWriter
Public Sub New (writer As TextWriter, device As MobileCapabilities)

Parameters

writer
TextWriter

The base writer object.

device
MobileCapabilities

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

Remarks

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

Applies to

See also