返回指定的 HTTP 上下文中的页面的 URL。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function GetPageUrlPath ( _
context As HttpContext _
) As String
用法
Dim context As HttpContext
Dim returnValue As String
returnValue = SPUtility.GetPageUrlPath(context)
public static string GetPageUrlPath(
HttpContext context
)
参数
context
类型:System.Web.HttpContext页面上下文。
返回值
类型:System.String
页的 URL。