This documentation is archived and is not being maintained.

HttpServerUtility.HtmlEncode Method

Encodes a string to be displayed in a browser.

Name Description
HttpServerUtility.HtmlEncode (String) HTML-encodes a string and returns the encoded string.
HttpServerUtility.HtmlEncode (String, TextWriter) HTML-encodes a string and sends the resulting output to a TextWriter output stream.
Show: