HttpServerUtilityWrapper::HtmlEncode Method

 

Encodes a string to be displayed in a browser.

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

NameDescription
System_CAPS_pubmethodHtmlEncode(String^)

HTML-encodes a string and returns the encoded string.(Overrides HttpServerUtilityBase::HtmlEncode(String^).)

System_CAPS_pubmethodHtmlEncode(String^, TextWriter^)

HTML-encodes a string and sends the resulting output to an output stream.(Overrides HttpServerUtilityBase::HtmlEncode(String^, TextWriter^).)

Return to top
Show: