WebPartMobilePage constructor

NOTE: This API is now obsolete.

Initializes a new instance of the WebPartMobilePage class.

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.")> _
Public Sub New
'Usage

Dim instance As New 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.")]
public WebPartMobilePage()

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.

See also

Reference

WebPartMobilePage class

WebPartMobilePage members

Microsoft.SharePoint.WebPartPages namespace