共用方式為


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
)

參數

請參閱

參照

SPHttpUtility class

SPHttpUtility members

Microsoft.SharePoint.Utilities namespace