Share via


TextEditor.Validate Method

NOTE: This API is now obsolete.

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.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Overridable Sub Validate
'Usage
Dim instance As TextEditor

instance.Validate()
[ObsoleteAttribute("This class is obsolete.")]
public virtual void Validate()

Implements

IValidator.Validate()

Remarks

The Validate method sets the IsValid property.

See Also

Reference

TextEditor Class

TextEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace