共用方式為


SPHtmlMobileTextWriter Class

Provides an override of the WriteFullBeginTag() method to enable the writing of a special version of the page's <HTML> tag.

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.HtmlMobileTextWriter
              Microsoft.SharePoint.MobileControls.SPHtmlMobileTextWriter

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPHtmlMobileTextWriter _
    Inherits HtmlMobileTextWriter
'Usage
Dim instance As SPHtmlMobileTextWriter
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPHtmlMobileTextWriter : HtmlMobileTextWriter

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

SPHtmlMobileTextWriter Members

Microsoft.SharePoint.MobileControls Namespace