This documentation is archived and is not being maintained.

HttpUtility.HtmlEncode Method

Converts a string into an HTML-encoded string.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member HtmlEncode(String) Converts a string to an HTML-encoded string.
Public method Static member HtmlEncode(String, TextWriter) Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output.
Top
Show: