StringValidationRule(Int32, Regex, Boolean) Constructor

Initializes a new instance of the StringValidationRule class.

Namespace: Dundas.BI.Configuration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public StringValidationRule(
	int maxLength,
	Regex matchingPattern,
	bool isEmptyStringValid
)

Parameters

maxLength  Int32
The maximum allowed string length.
matchingPattern  Regex
The matching pattern.
isEmptyStringValid  Boolean
A value indicated whether empty strings are always valid.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmaxLength is less than or equal to zero.
See Also