Skip to main content

IMetamodels.NewPackage method

Namespace: NextDesign.Core

Description

Generate a new package.

argument

NameTypeDescription
namestringPackage Name
parentIPackageParent Package
The default is null.

Return value

Exceptions

NameException ClassDescription
Argument invalidExtensionArgumentExceptionWhen 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 edit operation fails