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 is null. |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Argument invalid | ExtensionArgumentException | When 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 edit operation fails |