Skip to main content

IMetamodels.NewPackage method

Namespace: NextDesign.Core

Description

Generate a new package.

argument

NameTypeDescription
namestringPackage Name
parentIPackageParent Package
The default value is null.

Return value

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null/empty string/unusable character is specified in the package name
Unique constraint violationExtensionDuplicationExceptionIf a package with the specified name already exists
Profile edit not possibleExtensionEditProfileExceptionIf profile edit operation fails