XhtmlPageAdapter.InitWriterState(XhtmlMobileTextWriter) Method

Definition

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

Remarks

The InitWriterState method is called before rendering the page. This method sets the following properties on writer for the target device:

Applies to

See also