Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Operation Parameters by Reference

In your project, you can set operational parameters to be passed 'By Reference', as a global setting.



Start > Workspace > Preferences > Preferences > Objects > Feature reference indicator

Define Parameters



See also

You can select to highlight parameters declared as 'Kind: inout' or 'Kind: out' with an additional user-defined prefix or suffix.

If you select the 'Highlight References' checkbox, you can also indicate whether a prefix or suffix should be used, and the actual reference character to use. In the example image, the '&' character has been set as a prefix.

When you declare a parameter of type 'inout', it is assumed you are passing the parameter by reference rather than by value. If you have elected to highlight references, then this is displayed in the Diagram View.

The example shows that, in the getName operation, the parameter 'strName' is a string reference, and is highlighted using the chosen character and position.

Object Display Options


  • This facility applies to operations only