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.Uri

    An URI that represents the passed URL.

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