Share via


PageUrlNormalization.GetUrl Method

Returns the normalized URL of the page from the calculated PageNormalizedUrl cached within the current HttpContext. If the cache is not set, it calculates the normalized URL by using the default PageUrlNormalizationOption.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function GetUrl As Uri
'Usage
Dim returnValue As Uri

returnValue = PageUrlNormalization.GetUrl()
public static Uri GetUrl()

Return Value

Type: System.Uri
A URI that contains a normalized URL.

See Also

Reference

PageUrlNormalization Class

PageUrlNormalization Members

GetUrl Overload

Microsoft.SharePoint.Utilities Namespace