Partager via


TextEditor.MakeTextSafe, méthode (Microsoft.SharePoint.Portal.WebControls)

Cleans text according to specifications, such as, removing all script and certain URLs.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Shared Function MakeTextSafe ( _
    strHtmlToFix As String _
) As String
'Utilisation
Dim strHtmlToFix As String
Dim returnValue As String

returnValue = TextEditor.MakeTextSafe(strHtmlToFix)
public static string MakeTextSafe (
    string strHtmlToFix
)

Paramètres

  • strHtmlToFix
    The text to be cleaned.

Valeur de retour

String. The modified text.

Voir aussi

Référence

TextEditor, classe
Membres TextEditor
Microsoft.SharePoint.Portal.WebControls, espace de noms