共用方式為


UnsecuredLayoutsPageBase.MobilePageUrl Property

Gets the Web site-relative URL of the mobile version of the page.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property MobilePageUrl As String
    Get
'Usage
Dim value As String

value = Me.MobilePageUrl
protected virtual string MobilePageUrl { get; }

Property Value

Type: System.String
The URL of the mobile version of the page.

Remarks

The default implementation returns an empty string. Override this property if there is a version of the page designed for rendering on mobile devices.

See Also

Reference

UnsecuredLayoutsPageBase Class

UnsecuredLayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace