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)

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