Partilhar via


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

Syntax

'Declaration
Protected ReadOnly Property MobilePage As WebPartMobilePage
    Get
'Usage
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.

Remarks

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

See Also

Reference

WebPartMobileAdapter Class

WebPartMobileAdapter Members

Microsoft.SharePoint.WebPartPages Namespace