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