Adds the constraint to the collection. An ArgumentNullException is thrown if this column is null. An ArgumentException is thrown if this constraint already belongs to this collection, or belongs to another collection. A DuplicateNameException is thrown if this collection already has a constraint with the same name (case insensitive). The CollectionChanged event is fired if it succeeds.
[Visual Basic] Overloads Public Sub Add( _ ByVal constraint As Constraint _ ) [C#] public void Add( Constraint constraint ); [C++] public: void Add( Constraint* constraint ); [JScript] public function Add( constraint : Constraint );
ConstraintsCollection Class | ConstraintsCollection Members | System.Data Namespace | ConstraintsCollection.Add Overload List