Skip to main content

IMetamodels.AddSuperClasses(IClass,string,bool) method

Namespace: NextDesign.Core

Description

Sets the superclass of the specified class.

argument

NameTypeDescription
targetIClasstarget class
superClassNamesstringSuper Class Names
You can specify multiple class names separated by commas.
fuzzyboolFuzzy 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

NameException ClassDescription
Class not foundExtensionTypeNotFoundExceptionIf the specified class is not found
Profile cannot be editedExtensionEditProfileExceptionIf the profile edit operation fails