Share via


SPHttpUtility.HtmlDecode-Methode (String)

Ruft eine entschlüsselte Version der angegebenen codierte HTML-Zeichenfolge.

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

Syntax

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

returnValue = SPHttpUtility.HtmlDecode(valueToDecode)
public static string HtmlDecode(
    string valueToDecode
)

Parameter

  • valueToDecode
    Typ: System.String

    Die zu decodierende HTML-Zeichenfolge.

Rückgabewert

Typ: System.String
Die decodierte Zeichenfolge.

Hinweise

Um eine HTML-Zeichenfolge zu codieren, verwenden Sie die HTMLEncode -Methode.

Siehe auch

Referenz

SPHttpUtility Klasse

SPHttpUtility-Member

HtmlDecode-Überladung

Microsoft.SharePoint.Utilities-Namespace