SPUtility.GetPageUrlPath method

Returns the URL to a page in a specified HTTP context.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetPageUrlPath ( _
    context As HttpContext _
) As String
'Usage
Dim context As HttpContext
Dim returnValue As String

returnValue = SPUtility.GetPageUrlPath(context)
public static string GetPageUrlPath(
    HttpContext context
)

Parameters

Return value

Type: System.String
The URL to the page.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace