RegexValidationRule Constructor(String,String)
See Also 
SourceCode.Workflow.WizardFramework.Validation.K2RegExp Namespace > RegexValidationRule Class > RegexValidationRule Constructor : RegexValidationRule Constructor(String,String)



regexText
errorMessage

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal regexText As String, _
   ByVal errorMessage As String _
)
Visual Basic (Usage) Copy Code
Dim regexText As String
Dim errorMessage As String
 
Dim instance As New RegexValidationRule(regexText, errorMessage)
C#  
public RegexValidationRule( 
   string regexText,
   string errorMessage
)
C++/CLI  
public:
RegexValidationRule( 
   String^ regexText,
   String^ errorMessage
)

Parameters

regexText
errorMessage

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also