SPHttpUtility.WriteHtmlEncode method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Sub WriteHtmlEncode ( _
valueToEncode As String, _
page As Page _
)
'用途
Dim valueToEncode As String
Dim page As PageSPHttpUtility.WriteHtmlEncode(valueToEncode, _
page)
public static void WriteHtmlEncode(
string valueToEncode,
Page page
)
參數
- valueToEncode
Type: System.String
- page
Type: System.Web.UI.Page