HtmlDecode Method

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.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodHtmlDecode(String)

Decodes an HTML-encoded string and returns the decoded string.

System_CAPS_pubmethodHtmlDecode(String, TextWriter)

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.

Return to top
Show:
© 2016 Microsoft