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