Key: Integer;
The Key property returns constraint key.
To set constraint expression, use the IMsTargetConstraint.Expression property.
The property use is given in the example for IMsMetaModelVisualController.FillWithTargetConstraints.
See also:
IMsTargetConstraint