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



regexText
errorMessage
regexOptions

Glossary Item Box

Syntax

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

Parameters

regexText
errorMessage
regexOptions

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