WmlMobileTextWriter(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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for