IMetamodels.NewEnum(string,string,IPackage) Method
Namespace: NextDesign.Core
Description
Creates a new enumeration. 
Arguments
| Name | Type | Description | 
|---|---|---|
| name | string | Enumeration name | 
| values | string | Literal name You can specify multiple literal names separated by commas.  | 
| owner | IPackage | Package to which it belongs The default is null.  | 
Return value
Exception
| Name | Exception class | Description | 
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null/empty string/unusable character is specified for enumeration name If no literal name is specified If literal name is duplicated  | 
| Profile cannot be edited | ExtensionEditProfileException | If profile editing operation fails |