IMetamodels.AddSuperClasses(IClass,string,bool) method
Namespace: NextDesign.Core
Description
Sets the superclass of the specified class.
argument
Name | Type | Description |
---|---|---|
target | IClass | target class |
superClassNames | string | Super Class Names You can specify multiple class names separated by commas. |
fuzzy | bool | Fuzzy match? The default is true. If false is specified for fuzzy, the fully qualified name of the class is evaluated. If a class with the same name exists, you can specify the expected class by specifying false for fuzzy and specifying the fully qualified name for superClassNames. |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Class not found | ExtensionTypeNotFoundException | If the specified class is not found |
Profile cannot be edited | ExtensionEditProfileException | If the profile edit operation fails |