IMetamodels.RemovePathConstraint(IPackage,string,string) Method
Namespace: NextDesign.Core
Description
Removes the path constraint for the specified field of the specified class.
Arguments
| Name | Type | Description |
|---|---|---|
| scope | IPackage | Scope (Package that is the base point of the search range) |
| className | string | Class name that is the scope of the constraint |
| targetFieldName | string | Target field name of the constraint |
Return value
- void
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Class not found | ExtensionTypeNotFoundException | If a class with the specified name was not found |
| Field not found | ExtensionFieldNotFoundException | If a field with the specified name was not found |
| Profile cannot be edited | ExtensionEditProfileException | If the profile editing operation failed |