UpWmlMobileTextWriter(TextWriter, MobileCapabilities, MobilePage) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the UpWmlMobileTextWriter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
UpWmlMobileTextWriter(System::IO::TextWriter ^ writer, System::Web::Mobile::MobileCapabilities ^ device, System::Web::UI::MobileControls::MobilePage ^ page);
public UpWmlMobileTextWriter (System.IO.TextWriter writer, System.Web.Mobile.MobileCapabilities device, System.Web.UI.MobileControls.MobilePage page);
new System.Web.UI.MobileControls.Adapters.UpWmlMobileTextWriter : System.IO.TextWriter * System.Web.Mobile.MobileCapabilities * System.Web.UI.MobileControls.MobilePage -> System.Web.UI.MobileControls.Adapters.UpWmlMobileTextWriter
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
A reference to the MobilePage object.
Remarks
Adapters are usually constructed automatically by ASP.NET, and must have a parameterless constructor.