SPMobileUtility.AppendSourceQueryString Method

Appends, to the URL of a mobile page, the URL of the page from which the user navigated; that is, the page to which a Back button would navigate.

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

Syntax

'Declaration
Public Shared Function AppendSourceQueryString ( _
    url As String, _
    sourceUrl As String _
) As String
'Usage
Dim url As String
Dim sourceUrl As String
Dim returnValue As String

returnValue = SPMobileUtility.AppendSourceQueryString(url, _
    sourceUrl)
public static string AppendSourceQueryString(
    string url,
    string sourceUrl
)

Parameters

  • sourceUrl
    Type: System.String

    The URL of the page from which the user navigated.

Return Value

Type: System.String
The URL of the page with the URL of the source page appended to it as a query string; for example, https://server/_layouts/mobile/mblwiki.aspx?Source=%2FSitePages%2FHome%2Easpx.

See Also

Reference

SPMobileUtility Class

SPMobileUtility Members

Microsoft.SharePoint.Utilities Namespace