Skip to main content

IMetamodels.NewPackage Method

Namespace: NextDesign.Core

Description

Create a new package.

Arguments

NameTypeDescription
namestringPackage Name
parentIPackageParent Package
The default is null.

Return value

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null/empty character/unusable character is specified for package name
Unique constraint violationExtensionDuplicationExceptionIf a package with the specified name already exists
Profile cannot be editedExtensionEditProfileExceptionIf the profile editing operation fails