Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

public static string GetPageUrlPath(
	HttpContext context
)

Parameters

context
Type: System.Web.HttpContext

A context for the page.

Return value

Type: System.String
The URL to the page.
Show:
© 2015 Microsoft