IMetamodels.NewPackage Method
Namespace: NextDesign.Core
Description
Create a new package.
Arguments
Name | Type | Description |
---|---|---|
name | string | Package Name |
parent | IPackage | Parent Package The default is null. |
Return value
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null/empty character/unusable character is specified for package name |
Unique constraint violation | ExtensionDuplicationException | If a package with the specified name already exists |
Profile cannot be edited | ExtensionEditProfileException | If the profile editing operation fails |