ComponentOne Input for WinForms
Validate Method (PreValidation)

C1.Win.C1Input.4 Assembly > 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 System.String, _
   ByVal errorInfo As ErrorInfo _
) As System.Boolean
public System.bool Validate( 
   System.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