Language (property)
For automation interface information about the Language property, see the automation interface topic for the appropriate object in the Related Topics.
The Language property specifies the language that is used by the Code Editor when editing the following properties:
• The Body property of an Operation, Opaque Action or Value Specification Action.
• The Action, Change Expression, Guard Condition and Time Expression properties of an Event Action Block.
For information about the Code Editor, see
Overview of the code editor.
When editing a property using the Code Editor, the Code Editor searches the following items in turn until it finds a set Language property to use:
• The Language property that is set for the item that owns the property (if there is one).
• If a Stereotype is applied to the item, the Language property that is set for the Profile package that owns that Stereotype.
• The Language property that is set for each parent Package in turn.
• The Language property that is set for the Model.
If no set Language property is found, the Code Editor uses C++.
When editing script properties, the Code Editor language is always Visual Basic, irrespective of the Language that is set for parent Packages and the Model.
By default, the Languages property is blank.
This property is set on the following tabs:
• The Options tab of the Property Pages of a Model, Package, Operation or Event Action Block.
• The Body tab of an Opaque Action's or Value Specification Action's Property Pages.
The following section provides information about the items and diagrams for which Language is a property. For more information about an item or diagram, click it.
Is property of