IMsTargetConstraints.Add

Syntax

Add: IMsTargetConstraint;

Description

The Add method adds constraint to the collection.

Comments

To remove a specified constraint from the collection, use the IMsTargetConstraints.Remove method, to remove all constraints use the IMsTargetConstraints.Clear method.

Example

The method use is given in the example for IMsBaseOptimizationProblem.CriterionFunction.

See also:

IMsTargetConstraints