HttpUtility.HtmlEncode Method

Include Protected Members
Include Inherited Members

Encodes the specified string for use as text between HTML tags, or as an attribute value inside an HTML tag.

Overload List

  Name Description
Public methodStatic member HtmlEncode(String) Encodes the specified string for use as text between HTML tags, or as an attribute value inside an HTML tag.
Public methodStatic member HtmlEncode(String, TextWriter) Encodes the specified string as a text string to be enclosed in HTML tags, or as an attribute value inside an HTML tag, and appends it to the specified output stream.

Top

See Also

Reference

HttpUtility Class

HttpUtility Members

Microsoft.SharePoint.Client.Utilities Namespace