IMetamodels.RemovePathConstraint(IClass,IField) Method
Namespace: NextDesign.Core
Description
Removes the path constraint for the specified field of the specified class.
Arguments
| Name | Type | Description |
|---|---|---|
| scope | IClass | Class that is the scope of the constraint |
| targetField | IField | Target field of the constraint |
Return value
- void
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If the class that is the scope of the constraint or the target field of the constraint is not specified |
| Profile cannot be edited | ExtensionEditProfileException | If the profile editing operation fails |