Removes the specified System.Data.Constraint from the collection.
- constraint
- The System.Data.Constraint to remove.
Before using the Remove method, you can use the ConstraintCollection.Contains(string) method to determine whether the collection contains the target System.Data.Constraint, and the ConstraintCollection.CanRemove(Constraint) method to determine whether a System.Data.Constraint can be removed.
The ConstraintCollection.CollectionChanged event occurs if the constraint is successfully removed.