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