Assembly: Cp;
Namespace: Prognoz.Platform.Interop.Cp;
The IVarTargetConstraintsArray interface is used to work with the collection of constraints for variable.
IVarTargetConstraintsArray
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.
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. |
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: