共用方式為


PageUrlNormalization Members

Include Protected Members
Include Inherited Members

Normalizes URLs to ensure equivalence between different forms of the same URL.

The PageUrlNormalization type exposes the following members.

Methods

  Name Description
Public methodStatic member GetUrl() Returns the normalized URL of the page from the calculated PageNormalizedUrl cached within the current HttpContext. If the cache is not set, it calculates the normalized URL by using the default PageUrlNormalizationOption.
Public methodStatic member GetUrl(Uri, PageUrlNormalizationOption) Allows the caller to pass in the URL to be normalized by using the specified PageUrlNormalizationOption object.
Public methodStatic member GetUrl(Uri, PageUrlNormalizationOption, []) Allows the caller to pass in the URL to be normalized by using the specified modifier option and parameter list.
Public methodStatic member IsWacUrl Returns a value that indicates whether the specified URL locates a Microsoft Office Web Application Companion (WAC).
Public methodStatic member SetUrl(Uri) Adds the URI that is passed in to the cache for the current request.
Public methodStatic member SetUrl(PageUrlNormalizationOption) Allows the caller to pass in the PageUrlNormalizationOption object. The calculated URL is then stored in cache.
Public methodStatic member SetUrl(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.
Public methodStatic member SetUrl(PageUrlNormalizationOption, []) Allows the caller to pass in the modifier option and parameter list. The calculated URL is then stored in the cache.
Public methodStatic member SetUrl(Uri, PageUrlNormalizationOption, []) 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.

Top

See Also

Reference

PageUrlNormalization Class

Microsoft.SharePoint.Utilities Namespace