Is it possible to show that a method/operation returns and array of objects (rather than just a single object) in Visio 2007?
Asked Answered
M

1

8

I am making particular reference to producing a Static Structure (class diagram). I notice that you can set the return type to a particular object, but there appears to be no way to select that collection of objects be returned instead.

Mcmann answered 13/2, 2011 at 19:20 Comment(0)
B
13

Select the class, go to Properties, find the Operation, click on Properties and you'll see Prefix and Suffix fields in the dialog box. You can use these fields to modify the return expression, for example:

  • You can type "col " as Prefix to express a collection of objects.
  • You can type "[]" as Suffix to express an array of objects.

Or anything else.

Braided answered 13/2, 2011 at 19:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.