Web.WebUrlFromPageUrlDirect method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function WebUrlFromPageUrlDirect ( _
context As ClientContext, _
pageFullUrl As Uri _
) As Uri
'Usage
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
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientContext
- pageFullUrl
Type: System.Uri
Return value
Type: System.Uri
Returns Uri.