SPEncodeMethod enumeration

Specifies how the composite formatted string is written in HTML.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Enumeration SPEncodeMethod
Dim instance As SPEncodeMethod
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.

See also


Microsoft.SharePoint.WebControls namespace