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