Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HtmlAttributeEncode Method

HttpUtility.HtmlAttributeEncode Method

Minimally converts a string into 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
Public method Static member HtmlAttributeEncode(String) Minimally converts a string to an HTML-encoded string.
Public method Static member HtmlAttributeEncode(String, TextWriter) Minimally converts a string into an HTML-encoded string and sends the encoded string to a TextWriter output stream.
Top
Show:
© 2015 Microsoft