Ensures that the associated binding value is a match for the regular expression. Utilises the System.Text.RegularExpressions.RegEx.IsMatch() function to determine whether the value matches.

Namespace: DatabaseObjects.Constraints
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public class RegExConstraint : IConstraint<string>
Visual Basic
Public Class RegExConstraint _
	Implements IConstraint(Of String)
Visual C++
public ref class RegExConstraint : IConstraint<String^>

Inheritance Hierarchy

System..::..Object
  DatabaseObjects.Constraints..::..RegExConstraint
    DatabaseObjects.Constraints..::..EmailAddressConstraint

See Also