Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Visual Basic code > Modeling Visual Basic code in a model > Modeling a Visual Basic interface in a model (Visual Basic code)
  
Modeling a Visual Basic interface in a model (Visual Basic code)
A Visual Basic interface is modeled through a Modeler Interface.
To model a Visual Basic interface in a model:
1. In Modeler, right-click the Package, Class or Interface that is to own the interface, point to New, point to UML, point to Structure, and then click Interface.
2. Type the name of the interface, and then press the Enter key.
3. Right-click the Interface, point to Links > Stereotypes, and then click VB Class.
4. If you want to generate the Interface as a Visual Basic unit file, apply the «VB Unit» stereotype to the Interface. See Modeling a Visual Basic unit file in a model (Visual Basic code).
5. Set the values of the Interface's standard properties and Tag Definitions (applied by the «VB Class» and «VB Unit» stereotypes) as required.
For more information about how ACS generates the values of an Interface's standard properties and Tag Definitions, see the related links below.
For information, see Setting a tagged value for an applied tag definition.