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 String, _
       ByVal errorInfo As ErrorInfo _
    ) As Boolean
    public bool MatchRegex( 
       string text,
       ErrorInfo errorInfo
    )

    Parameters

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