Share via


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

Syntax

'Declaration
Public Enumeration SPEncodeMethod
'Usage
Dim instance As SPEncodeMethod
public enum SPEncodeMethod

Members

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

Reference

Microsoft.SharePoint.WebControls Namespace