WebPartMobilePage class
NOTE: This API is now obsolete.
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
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.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.")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Class WebPartMobilePage _
Inherits SPMobilePage
'Usage
Dim instance As WebPartMobilePage
[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.")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, 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.