SPMobileUtility.AppendSourceQueryString 方法

将追加到 URL 的移动页,页面的 URL 从用户导航的 ;也就是说,后退按钮将导航到的页。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
)

参数

  • sourceUrl
    类型:System.String

    用户从中导航的页面的 URL。

返回值

类型:System.String
作为查询字符串 ; 该字符串附加到它的源页的 url 的页面的 URL例如, https://server/_layouts/mobile/mblwiki.aspx?Source=%2FSitePages%2FHome%2Easpx。

另请参阅

引用

SPMobileUtility 类

SPMobileUtility 成员

Microsoft.SharePoint.Utilities 命名空间