IMetamodels.NewPackage method
Namespace: NextDesign.Core
Description
Generate a new package.
argument
Name | Type | Description |
---|---|---|
name | string | Package Name |
parent | IPackage | Parent Package The default value is null. |
Return value
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null/empty string/unusable character is specified in the package name |
Unique constraint violation | ExtensionDuplicationException | If a package with the specified name already exists |
Profile edit not possible | ExtensionEditProfileException | If profile edit operation fails |