共用方式為


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)
Available in Sandboxed Solutions: No

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