WebPartMobilePage class

SharePoint 2013

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.


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

[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 http://go.microsoft.com/fwlink/?LinkId=157231.")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class WebPartMobilePage : SPMobilePage

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.

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