Redigera

Dela via


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