SPMobileUrlRedirection.Url Property
Gets or sets the URL of the page to which a mobile device should be redirected.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Property Url As String
Get
Set
Dim instance As SPMobileUrlRedirection
Dim value As String
value = instance.Url
instance.Url = value
public string Url { get; set; }
Property Value
Type: System.String
A String that specifies the page to which a mobile device should be redirected.
Remarks
Setting Url does not set PageFileName to a consistent value. For example, if Url is set to "\\ServerName\MySite\m\MySpecialPage.aspx", PageFileName is not set to "MySpecialPage.aspx".
However, setting PageFileNamedoes set Url to a consistent value.