WebPartMobilePage Class
Represents a Web Part page that is designed for viewing on the small screens of mobile devices and that contains Web Parts that have mobile adapters.
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.WebPartPages.WebPartMobilePage
Microsoft.SharePoint.MobileControls.SPMobileWikiPage
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class WebPartMobilePage _
Inherits SPMobilePage
'Usage
Dim instance As WebPartMobilePage
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class WebPartMobilePage : SPMobilePage
Remarks
Each WebPartMobilePage object gets its Web Parts from a corresponding non-mobile WebPartPage object, called the target page, so you may not create a WebPartMobilePage page unless there is a corresponding non-mobile WebPartPage.
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.