Modeling inheritance for a class, structure, interface or module in a model (Visual Basic code)
Inheritance is modeled through Modeler Generalizations.
To mode linheritance for a class, structure, interface or module in a model:
1. On a Class Diagram, add the Class, Data Type or Interface from which the inherited class, structure, interface or module is generated.
2. On the Class Diagram, add the Class, Data Type or Interface from which the inheriting class, structure, interface or module is generated.
3. On the Class Diagram tab, click the Generalization button, click the item from which the inherited class, structure, interface or module is generated, and then click the item from which the inheriting class, structure, interface or module is generated.
4. If you want to specify text to follow the type of the Inherits statement:
a. Right-click the Generalization, point to Applied Stereotypes, and then click VB Specialization.
b. Open the Generalization's Property Pages, and then click the VB Specialization tab.
c. Set the tagged value of the VB SpecializationAddenda tag definition to the text to follow the type of the Inherits statement.