PageUrlNormalization.GetUrl method (Uri, PageUrlNormalizationOption, String[])
Allows the caller to pass in the URL to be normalized by using the specified modifier option and parameter list.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetUrl ( _
url As Uri, _
option As PageUrlNormalizationOption, _
ParamArray parameters As String() _
) As Uri
'Usage
Dim url As Uri
Dim option As PageUrlNormalizationOption
Dim parameters As String()
Dim returnValue As Uri
returnValue = PageUrlNormalization.GetUrl(url, option, _
parameters)
public static Uri GetUrl(
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 how the parameters array is used.
parameters
Type: []An array of strings that represent the parameters.
Return value
Type: System.Uri
A URI that contains a normalized URL.