SPMobileUtility.AppendSourceQueryString method
行動網頁的 url,附加的網頁 URL 從使用者巡覽的 ;也就是 [上一頁] 按鈕會瀏覽的頁面。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function AppendSourceQueryString ( _
url As String, _
sourceUrl As String _
) As String
'用途
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
)
參數
url
Type: System.String頁面的 URL。
sourceUrl
Type: System.String從使用者瀏覽過的網頁 URL。
傳回值
Type: System.String
頁面的 URL,以做為查詢字串 ; 附加到它的來源網頁的 URL例如, https://server/_layouts/mobile/mblwiki.aspx?Source=%2FSitePages%2FHome%2Easpx。