public ValidatePatternAttribute(
string pattern,
RegexOptions options = RegexOptions.None
)
Public Sub New (
pattern As String,
Optional options As RegexOptions = RegexOptions.None
)
Dim pattern As String
Dim options As RegexOptions
Dim instance As New ValidatePatternAttribute(pattern,
options)
public:
ValidatePatternAttribute(
String^ pattern,
RegexOptions options = RegexOptions::None
)
This constructor does not validate if the regular expression specified in pattern is valid. The Regex instance is not constructed until the validation is performed.