HttpServerUtility::HtmlEncode Method
.NET Framework (current version)
Encodes a string to be displayed in a browser.
To encode or decode values outside of a web application, use the WebUtility class.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | HtmlEncode(String^) | HTML-encodes a string and returns the encoded string. |
![]() | HtmlEncode(String^, TextWriter^) | HTML-encodes a string and sends the resulting output to a TextWriter output stream. |
Show:
