共用方式為


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