ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / PreValidation Class / Validate Method
The input string to validate.
Error information filled in case of failure.

In This Topic
    Validate Method (PreValidation)
    In This Topic
    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