SPHttpUtility.HtmlUrlAttributeEncode Method

Include Protected Members
Include Inherited Members

Encodes the specified string for use as an attribute value for URL type attributes, such as the href attribute of an anchor tag or the src attribute of an image tag.

Overload List

  Name Description
Public methodStatic member HtmlUrlAttributeEncode(String) Encodes the specified string for use as an attribute value for URL type attributes, such as the href attribute of an anchor tag or the src attribute of an image tag.
Public methodStatic member HtmlUrlAttributeEncode(String, TextWriter) Encodes the specified string for use as an attribute value for URL type attributes, such as the href attribute of an anchor tag or the src attribute of an image tag, and appends it to the specified output stream.

Top

See Also

Reference

SPHttpUtility Class

SPHttpUtility Members

Microsoft.SharePoint.Utilities Namespace