Parameters of operations in Visio's Class diagram

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