ComponentOne Input for WinForms
MatchRegex Method

C1.Win.C1Input.4 Assembly > C1.Win.C1Input Namespace > PreValidation Class : MatchRegex Method
The input string to match.
Error information filled in case of failure.
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

Reference

PreValidation Class
PreValidation Members