Partilhar via


SPMobilePage Class

Represents a page on a Web site that is designed for viewing on the small screens of mobile devices.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        System.Web.UI.MobileControls.MobilePage
          Microsoft.SharePoint.MobileControls.SPMobilePage
            Microsoft.SharePoint.MobileControls.SPMoblogPage
            Microsoft.SharePoint.WebPartPages.WebPartMobilePage

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class SPMobilePage _
    Inherits MobilePage
'Usage
Dim instance As SPMobilePage
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class SPMobilePage : MobilePage

Remarks

To create custom mobile-friendly Web pages, derive your page class from SPMobilePage.

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

SPMobilePage Members

Microsoft.SharePoint.MobileControls Namespace