AntiXssEncoder::HtmlEncode Method
.NET Framework (current version)
Encodes the specified string for use as text in HTML markup.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | HtmlEncode(String^, Boolean) | Encodes the specified string for use as text in HTML markup and optionally specifies whether to use HTML 4.0 named entities. |
![]() | HtmlEncode(String^, TextWriter^) | Encodes the specified string for use as text in HTML markup and outputs the string by using the specified text writer.(Overrides HttpEncoder::HtmlEncode(String^, TextWriter^).) |
Show:


