Assembly: Cp;
Namespace: Prognoz.Platform.Interop.Cp;
The IVarTargetConstraintsArray interface is used to work with collection of constraints for variable.
IVarTargetConstraintsArray
Constraints allow specifying the interval, in which variable values must be contained. To get collection of controlling variable constraints, use the ITargetControlVariable.Constraints property, to get collection of phase variable constraints - the ITargetPhaseVariable.Constraints property.
| Property name | Brief description | |
| The Count property returns the number of collection constraints. | ||
| The Item property returns constraint with specified index from the collection. |
| Method name | Brief description | |
| The Add method a new constraint to collection. | ||
| The Clear method clears collection of constraints. | ||
| The Remove method removes constraint with specified index from the collection. |
See also: