ComponentOne MultiSelect for WinForms
MatchRegex Method

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 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

Reference

PreValidation Class
PreValidation Members