HttpUtility.HtmlAttributeEncode Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Minimally converts a string into an HTML-encoded string.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticHtmlAttributeEncode(String)

Minimally converts a string to an HTML-encoded string.

System_CAPS_pubmethodSystem_CAPS_staticHtmlAttributeEncode(String, TextWriter)

Minimally converts a string into an HTML-encoded string and sends the encoded string to a TextWriter output stream.

Return to top
Show: