WebUtility::HtmlEncode Method
.NET Framework (current version)
Converts a string to an HTML-encoded string.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | HtmlEncode(String^) | Converts a string to an HTML-encoded string. |
![]() ![]() | HtmlEncode(String^, TextWriter^) | Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output. |
Show:

