WebPartMobileAdapter.MobilePage Property

Gets an object that represents the current page, if the page is an WebPartMobilePage object.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Protected ReadOnly Property MobilePage As WebPartMobilePage
Dim value As WebPartMobilePage

value = Me.MobilePage
protected WebPartMobilePage MobilePage { get; }

Property Value

Type: Microsoft.SharePoint.WebPartPages.WebPartMobilePage
A WebPartMobilePage that represents the current page. This is a null reference (Nothing in Visual Basic) if the current page is not of the type WebPartMobilePage.


You can use this property to test whether the current page is a WebPartMobilePage.

See Also


WebPartMobileAdapter Class

WebPartMobileAdapter Members

Microsoft.SharePoint.WebPartPages Namespace