This topic has not yet been rated - Rate this topic

SPEncodeMethod Enumeration

Specifies how the composite formatted string is written in HTML.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public enum SPEncodeMethod
Member name Description
NoEncode Specifies no encoding.
HtmlEncode Specifies HTML encoding.
HtmlEncodeAllowSimpleTextFormatting Specifies encoding the specified string for use as text between HTML tags, preserving spaces in the original string and allowing simple text formatting.
EcmaScriptStringLiteralEncode Specifies ECMAScript encoding.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ