Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Decodes the specified encoded string, replacing entities with HTML characters.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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>".