Partager via


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

Ensures that the size of the text does not exceed the maximum size limit of 50,000 HTML characters. The Validate method removes all script from the text before validating the size.

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

Syntaxe

'Déclaration
Public Overridable Sub Validate
'Utilisation
Dim instance As TextEditor

instance.Validate
public virtual void Validate ()

Remarques

The Validate method sets the IsValid property.

Voir aussi

Référence

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