Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


Specifies a user interface constraint for this parameter.


To specify a user interface constraint for this parameter, use the following syntax:

Parameter name As parameter_type [ Constraint = "constraint" ]  = value ;

Where constraint is a string used by Studio.


The constraint value is used by Studio to provide input validation for the parameter. Its value is not used nor enforced by the class compiler.

This keyword works in conjunction with the Flags keyword. For example, if Flags is set to ENUM, then Constraint should be a comma-separated list of possible parameter values.


Parameter MYPARM [ Constraint = "X,Y,Z", Flags = ENUM ] = "X";
Copy code to clipboard

See Also