Export (0) Print
Expand All
Expand Minimize

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 nameDescription
NoEncodeSpecifies no encoding.
HtmlEncodeSpecifies HTML encoding.
HtmlEncodeAllowSimpleTextFormattingSpecifies encoding the specified string for use as text between HTML tags, preserving spaces in the original string and allowing simple text formatting.
EcmaScriptStringLiteralEncodeSpecifies ECMAScript encoding.
Show:
© 2014 Microsoft