: TextEditor.MakeTextSafe (Método) (Microsoft.SharePoint.Portal.WebControls)
Cleans text according to specifications, such as, removing all script and certain URLs.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Public Shared Function MakeTextSafe ( _
strHtmlToFix As String _
) As String
'Uso
Dim strHtmlToFix As String
Dim returnValue As String
returnValue = TextEditor.MakeTextSafe(strHtmlToFix)
public static string MakeTextSafe (
string strHtmlToFix
)
Parámetros
- strHtmlToFix
The text to be cleaned.
Valor devuelto
String. The modified text.
Vea también
Referencia
TextEditor (Clase)
TextEditor (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)