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
str
Type: System.StringThe string to decode.
Return value
Type: System.String
The decoded version of the string that is passed to the method.
Remarks
The HtmlDecode method converts, for example, "<HTML>" to "<HTML>".