Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal regexText As String, _ ByVal errorMessage As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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
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