WebUtility.HtmlEncode Method
.NET Framework 4
Converts a string to 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.
| Name | Description | |
|---|---|---|
|
HtmlEncode(String) | Converts a string to an HTML-encoded string. |
|
HtmlEncode(String, TextWriter) | Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output. |