共用方式為


SPHttpUtility.WriteUrlPathEncode method (String, Boolean, Boolean, Page)

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

Syntax

'宣告
Public Shared Sub WriteUrlPathEncode ( _
    argumentToEncode As String, _
    allowHashParameter As Boolean, _
    encodeUnicodeCharacters As Boolean, _
    page As Page _
)
'用途
Dim argumentToEncode As String
Dim allowHashParameter As Boolean
Dim encodeUnicodeCharacters As Boolean
Dim page As PageSPHttpUtility.WriteUrlPathEncode(argumentToEncode, _
    allowHashParameter, encodeUnicodeCharacters, _
    page)
public static void WriteUrlPathEncode(
    string argumentToEncode,
    bool allowHashParameter,
    bool encodeUnicodeCharacters,
    Page page
)

參數

請參閱

參照

SPHttpUtility class

SPHttpUtility members

WriteUrlPathEncode overload

Microsoft.SharePoint.Utilities namespace