MobileTextWriter(TextWriter, MobileCapabilities) 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:
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.