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
)
參數
- argumentToEncode
Type: System.String
- allowHashParameter
Type: System.Boolean
- encodeUnicodeCharacters
Type: System.Boolean
- page
Type: System.Web.UI.Page