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