Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft