Share via


SPEncode.HtmlDecode method

Decodes the specified encoded string, replacing entities with HTML characters.

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

Syntax

'Declaration
Public Shared Function HtmlDecode ( _
    str As String _
) As String
'Usage
Dim str As String
Dim returnValue As String

returnValue = SPEncode.HtmlDecode(str)
public static string HtmlDecode(
    string str
)

Parameters

Return value

Type: System.String
The decoded version of the string that is passed to the method.

Remarks

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

See also

Reference

SPEncode class

SPEncode members

Microsoft.SharePoint.Utilities namespace