Skip to main content

IMetamodels.RemovePathConstraint(IPackage,string,string) Method

Namespace: NextDesign.Core

Description​

Removes the path constraint for the specified field of the specified class.

Arguments​

NameTypeDescription
scopeIPackageScope (Package that is the base point of the search range)
classNamestringClass name that is the scope of the constraint
targetFieldNamestringTarget field name of the constraint

Return value​

  • void

Exceptions​

NameException classDescription
Class not foundExtensionTypeNotFoundExceptionIf a class with the specified name was not found
Field not foundExtensionFieldNotFoundExceptionIf a field with the specified name was not found
Profile cannot be editedExtensionEditProfileExceptionIf the profile editing operation failed