ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Win.C1Input Namespace / PreValidation Class / MatchRegex Method
The input string to match.
Error information filled in case of failure.

In This Topic
    MatchRegex Method
    In This Topic
    Returns True if the input text matches the regular expression pattern specified in PatternString.
    Syntax
    'Declaration
     
    Public Function MatchRegex( _
       ByVal text As System.String, _
       ByVal errorInfo As ErrorInfo _
    ) As System.Boolean
    public System.bool MatchRegex( 
       System.string text,
       ErrorInfo errorInfo
    )

    Parameters

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