ComponentOne CalendarView for WinForms
Validate Method (PreValidation)

C1.Win.C1Input Namespace > PreValidation Class : Validate Method
The input string to validate.
Error information filled in case of failure.
Returns True if the text successfully passes validation using the current settings of the PreValidation object.
Syntax
'Declaration
 
Public Function Validate( _
   ByVal text As String, _
   ByVal errorInfo As ErrorInfo _
) As Boolean
public bool Validate( 
   string text,
   ErrorInfo errorInfo
)

Parameters

text
The input string to validate.
errorInfo
Error information filled in case of failure.
See Also

Reference

PreValidation Class
PreValidation Members