PageUrlNormalization.GetUrl method (Uri, PageUrlNormalizationOption)
Allows the caller to pass in the URL to be normalized by using the specified PageUrlNormalizationOption object.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetUrl ( _
url As Uri, _
option As PageUrlNormalizationOption _
) As Uri
'Usage
Dim url As Uri
Dim option As PageUrlNormalizationOption
Dim returnValue As Uri
returnValue = PageUrlNormalization.GetUrl(url, option)
public static Uri GetUrl(
Uri url,
PageUrlNormalizationOption option
)
Parameters
url
Type: System.UriAn URI that represents the passed URL.
option
Type: Microsoft.SharePoint.Utilities.PageUrlNormalizationOptionAn object that represents the PageUrlNormalizationOption.
Return value
Type: System.Uri
A URI that contains a normalized URL.