Partager via


HtmlDecode Method

The HtmlDecode method of the SPEncode class decodes the specified encoded string, replacing entities with HTML characters.

Parameters

str   The string to decode.

Return Value

The decoded version of the string that is passed to the method.

Remarks

The HtmlDecode method converts, for example, "&lt;HTML&gt;" to "<HTML>".

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security