StringValidationRule Constructor (Int32, Regex, Boolean) |
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public StringValidationRule(
int maxLength,
Regex matchingPattern,
bool isEmptyStringValid
)
Public Sub New (
maxLength As Integer,
matchingPattern As Regex,
isEmptyStringValid As Boolean
)
public:
StringValidationRule(
int maxLength,
Regex^ matchingPattern,
bool isEmptyStringValid
)
new :
maxLength : int *
matchingPattern : Regex *
isEmptyStringValid : bool -> StringValidationRule
Parameters
- maxLength
- Type: SystemInt32
The maximum allowed string length. - matchingPattern
- Type: System.Text.RegularExpressionsRegex
The matching pattern. - isEmptyStringValid
- Type: SystemBoolean
A value indicated whether empty strings are always valid.
Exceptions See Also