QuickObjects.ObjectBase Send comments on this topic.
RegularExpressionFieldValidator Constructor(BaseField,Boolean)
See Also 
Akal.QuickObjects.ObjectBase Namespace > RegularExpressionFieldValidator Class > RegularExpressionFieldValidator Constructor : RegularExpressionFieldValidator Constructor(BaseField,Boolean)
field
Field instance that will be validated by this validator.
addToValidators
If true is passed the validator will be automatically added to the passed in field's validators collection.
Overloaded Constructor takes an instance of type BaseField and sets the FieldToValidate property. In addition to setting the FieldToValidate property, this constructor will accept a boolean value that will decide if the validator should be automatically added into the Validators collection of the passed in field.

Syntax

C# 
public RegularExpressionFieldValidator( 
   BaseField field,
   bool addToValidators
)

Parameters

field
Field instance that will be validated by this validator.
addToValidators
If true is passed the validator will be automatically added to the passed in field's validators collection.

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also