Export (0) Print
Expand All

HttpServerUtility.HtmlDecode Method

Decodes a string that has been encoded to eliminate invalid HTML characters.

To encode or decode values outside of a web application, use the WebUtility class.

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

  Name Description
Public method HtmlDecode(String) Decodes an HTML-encoded string and returns the decoded string.
Public method HtmlDecode(String, TextWriter) Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
Top
Show:
© 2014 Microsoft