Share via


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

Return value

Type: System.Uri
Returns Uri.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace