WebUtility.HtmlEncode Method

.NET Framework (current version)
 

Converts a string to an HTML-encoded string.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticHtmlEncode(String)

Converts a string to an HTML-encoded string.

System_CAPS_pubmethodSystem_CAPS_staticHtmlEncode(String, TextWriter)

Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output.

Return to top
Show: