SPHttpUtility.HtmlDecode - Méthode (String)
Récupère une version décodée de la chaîne codée en HTML spécifiée.
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function HtmlDecode ( _
valueToDecode As String _
) As String
'Utilisation
Dim valueToDecode As String
Dim returnValue As String
returnValue = SPHttpUtility.HtmlDecode(valueToDecode)
public static string HtmlDecode(
string valueToDecode
)
Paramètres
valueToDecode
Type : System.StringLa chaîne HTML à décoder.
Valeur renvoyée
Type : System.String
La chaîne décodée.
Remarques
Pour coder une chaîne HTML, utilisez la méthode HTMLEncode .