IVarTargetConstraintsArray

Assembly: Cp;

Description

The IVarTargetConstraintsArray interface is used to work with the collection of constraints for variable.

Inheritance Hierarchy

          IVarTargetConstraintsArray

Comments

Constraints enable the user to specify the interval, in which variable values must be contained. To get the collection of controlling variable constraints, use the ITargetControlVariable.Constraints property, to get the collection of phase variable constraints, use the ITargetPhaseVariable.Constraints property.

Properties

  Property name Brief description
Count The Count property returns the number of collection constraints.
Item The Item property returns the constraint with the specified index from the collection.

Methods

  Method name Brief description
Add The Add method adds a new constraint to the collection.
Clear The Clear method clears the constraints collection.
Remove The Remove method removes constraint with the specified index from the collection.

See also:

Cp Assembly Interfaces