IMetamodels.MoveToPackage(IPackage,string,IPackage,bool) Method
Namespace: NextDesign.Core
Description
Moves the specified class under the specified package management. 
See the IMetamodels description for how to specify the class name and the fuzzy match option. 
Arguments
| Name | Type | Description | 
|---|---|---|
| scope | IPackage | Scope (Package that is the base of the search range) | 
| classNames | string | Class names to move You can specify multiple class names separated by commas.  | 
| newOwner | IPackage | Destination package | 
| fuzzy | bool | Fuzzy match option The default value is true. If fuzzy is set to false, the class name will be evaluated using the fully qualified name. If a class with the same name exists, you can move the desired class by setting fuzzy to false and specifying the fully qualified name in classNames.  | 
Return value
- void
 
Exception
| Name | Exception class | Description | 
|---|---|---|
| Class not found | ExtensionTypeNotFoundException | If none of the classes specified in the class name to be moved are found | 
| Invalid argument | ExtensionArgumentException | If the destination package is not specified | 
| Unique constraint violation | ExtensionDuplicationException | If moving the specified class will result in a duplicate class name or enumeration name at the destination | 
| Profile editing not possible | ExtensionEditProfileException | If the profile editing operation fails |