XhtmlPageAdapter.InitWriterState(XhtmlMobileTextWriter) Method
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.
Configures the XhtmlMobileTextWriter object for the target device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
virtual void InitWriterState(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer);
protected virtual void InitWriterState (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer);
abstract member InitWriterState : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
override this.InitWriterState : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
Protected Overridable Sub InitWriterState (writer As XhtmlMobileTextWriter)
Parameters
- writer
- XhtmlMobileTextWriter
An XhtmlMobileTextWriter object.
Remarks
The InitWriterState method is called before rendering the page. This method sets the following properties on writer
for the target device: