PageUrlNormalization.SetUrl method (Uri, PageUrlNormalizationOption)

Allows the caller to pass in the URL to be normalized and the PageUrlNormalizationOption object. The normalized URL is stored in server cache for that request.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub SetUrl ( _
    url As Uri, _
    option As PageUrlNormalizationOption _
)
'Usage
Dim url As Uri
Dim option As PageUrlNormalizationOptionPageUrlNormalization.SetUrl(url, option)
public static void SetUrl(
    Uri url,
    PageUrlNormalizationOption option
)

Parameters

  • url
    Type: System.Uri

    A URI that represents the passed URL.

See also

Reference

PageUrlNormalization class

PageUrlNormalization members

SetUrl overload

Microsoft.SharePoint.Utilities namespace