Assembly: Ms;
The IMsTargetConstraints interface is used to work with the collection of criterion function constraints.
IMsTargetConstraints
To get the collection of criterion function constraints, use the IMsTargetProblem.Constraints property.
| Property name | Brief description | |
| Count | The Count property returns the number of collection constraints. | |
| Item | The Item property returns specified constraint from the collection. |
| Method name | Brief description | |
| Add | The Add method adds constraint to the collection. | |
| Clear | The Clear method clears the collection of constraints. | |
| FindByKey | The FindByKey method searches for a constraint in the collection. | |
| Remove | The Remove method removes the specified constraint from the collection. |
See also: