Share via


TextEditor.Validate Method

Ensures that the text size does not exceed the maximum size limit of MaxTextSizeDefault. 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
Public Overridable Sub Validate
'Usage
Dim instance As TextEditor

instance.Validate()
public virtual void Validate()

See Also

Reference

TextEditor Class

TextEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace