7

I am drawing a Class diagram in Visio.
In the operations part of a class, I would like to show the parameters.

For example: doMethod(String hi): void.

But I don't know how to set the parameters.

Can anyone please suggest a way?

Dave
  • 25,297
  • 10
  • 57
  • 69
Freakyuser
  • 213
  • 1
  • 3
  • 8
  • 1
    I'm not sure I know what you mean by "set parameters". Are you trying to add more Parameters like "hi" to doMethod, or trying to figure out how to provide a value for "hi" when running doMethod? – Ƭᴇcʜιᴇ007 Jan 08 '13 at 12:56

1 Answers1

7

I assume you're using a UML diagram

Double click on the method you've created (called operation), select the operation in question then select properties from right side menu, from here you can add the paramaters.

enter image description here

Dave
  • 25,297
  • 10
  • 57
  • 69