Input for WinForms | ComponentOne
C1.Win.Input.Validation 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