IVarTargetConstraintsArray

Assembly: Cp;

Namespace: Prognoz.Platform.Interop.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
The Count property returns the number of collection constraints.
The Item property returns the constraint with the specified index from the collection.

Methods

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

See also:

Cp Assembly Interfaces