Share via


XhtmlMobilePageTextWriter class

NOTE: This API is now obsolete.

Provide a writer wrapper so that we can intercept the writing of html tag and insert dir attribute as proper.

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.TextWriter
      System.Web.UI.HtmlTextWriter
        System.Web.UI.MobileControls.Adapters.MultiPartWriter
          System.Web.UI.MobileControls.Adapters.MobileTextWriter
            System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter
              Microsoft.Office.Web.Mobile.XhtmlMobilePageTextWriter

Namespace:  Microsoft.Office.Web.Mobile
Assembly:  Microsoft.Office.Web.MobileWordViewer (in Microsoft.Office.Web.MobileWordViewer.dll)

Syntax

'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class XhtmlMobilePageTextWriter _
    Inherits XhtmlMobileTextWriter
'Usage
Dim instance As XhtmlMobilePageTextWriter
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class XhtmlMobilePageTextWriter : XhtmlMobileTextWriter

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

XhtmlMobilePageTextWriter members

Microsoft.Office.Web.Mobile namespace