共用方式為


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

    A URI that represents the passed URL.

  • parameters
    Type: []

    An array of strings that represent the parameters.

See Also

Reference

PageUrlNormalization Class

PageUrlNormalization Members

SetUrl Overload

Microsoft.SharePoint.Utilities Namespace