다음을 통해 공유


TextEditor.MakeTextSafe Method

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

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Shared Function MakeTextSafe ( _
    strHtmlToFix As String _
) As String
'Usage
Dim strHtmlToFix As String
Dim returnValue As String

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

Parameters

Return Value

Type: System.String

See Also

Reference

TextEditor Class

TextEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace