共用方式為


SPUrlUtility Class

Provides access to methods that operate on URLs.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPUrlUtility

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPUrlUtility

Dim instance As SPUrlUtility
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPUrlUtility

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPUrlUtility Members

Microsoft.SharePoint.Utilities Namespace