PageUrlNormalization.SetUrl Method (Uri, PageUrlNormalizationOption, String )
Allows the caller to pass in the URL to be normalized, the modifier option, and parameter list. The normalized URL is stored in server cache for that request.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Sub SetUrl ( _
url As Uri, _
option As PageUrlNormalizationOption, _
ParamArray parameters As String() _
)
'Usage
Dim url As Uri
Dim option As PageUrlNormalizationOption
Dim parameters As String()
PageUrlNormalization.SetUrl(url, option, parameters)
public static void SetUrl(
Uri url,
PageUrlNormalizationOption option,
params string[] parameters
)
Parameters
url
Type: System.UriA URI that represents the passed URL.
option
Type: Microsoft.SharePoint.Utilities.PageUrlNormalizationOptionAn object that represents the option that controls how the parameters array is used.
parameters
Type: []An array of strings that represent the parameters.