Web.WebUrlFromPageUrlDirect 方法
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Shared Function WebUrlFromPageUrlDirect ( _
context As ClientContext, _
pageFullUrl As Uri _
) As Uri
用法
Dim context As ClientContext
Dim pageFullUrl As Uri
Dim returnValue As Uri
returnValue = Web.WebUrlFromPageUrlDirect(context, _
pageFullUrl)
public static Uri WebUrlFromPageUrlDirect(
ClientContext context,
Uri pageFullUrl
)
参数
- context
类型:Microsoft.SharePoint.Client.ClientContext
- pageFullUrl
类型:System.Uri
返回值
类型:System.Uri
Returns Uri.