Modeling a Visual Basic structure in a model (Visual Basic code)
A Visual Basic structure is modeled through a Modeler Data Type.
To model a Visual Basic structure in a model:
1. In Modeler, right-click the Package or Class that is to own the structure, point to New, point tobUML, point toStructure, and then clickData Type.
2. Type the name of the structure, and then press the Enter key.
3. Right-click the Data Type, point to Links > Stereotypes, and then click VB Class.
4. If you want to generate the Data Type as a Visual Basic unit file, apply the «VB Unit» stereotype to the Data Type.
5. Set the values of the Data Type's standard properties and Tag Definitions (applied by the «VB Class» and «VB Unit» stereotypes) as required.