Modeling a Visual Basic generic type in a model (Visual Basic code)
A Visual Basic generic class, generic structure or generic interface is modeled through a Modeler Class.
To model a Visual Basic generic type in a model:
1. In Modeler, right-click the Package or Class that is to own the generic type:
Point to New, point to UML, point to Structure, and then click Class, Data Type or Interface.
or
Point to New, and then click Class, Data Type or Interface.
2. Type the name of the generic type, and then press the Enter key.
3. Open the Class', Data Type's or Interface's Property Pages, and then click the Optionstab.
4. Select the Template check box.
5. In the Formal Template Parameters, specify the type parameters.
6. Set up the other properties of the Class, Data Type or Interface as necessary.
For more information about modeling classes, structures and interfaces, see: