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 operator in a model (Visual Basic code)
  
Modeling a Visual Basic operator in a model (Visual Basic code)
A Visual Basic operator is modeled through a Modeler Operation.
To model a Visual Basic operator in a model:
1. In Modeler, right-click the Class, Data Type or Interface that is to own the operator, point to New, and then click Operation.
2. Type the name of the operator, and then press the Enter key.
3. Right-click the Operation, point to Links > Stereotypes, and then click VB Operation.
4. Open the Operation's Property Pages, and click the VB Operation tab.
5. Set the tagged value of the VB Operator tag definition toTRUE.
6. Set the values of the Operation's standard properties and Tag Definitions (applied by the «VB Operation» stereotype) as required.
For more information, see Setting the tagged value for an applied tag definition and the related links below.