Share via


How to: Reorder Parameters (C# only)

In the Class Designer, you can change the order of method parameters in types.

To change the order of parameters

  1. On the class diagram, expand the type shape and then the Methods compartment.

  2. In the Methods compartment, right-click the method with the parameters you want, point to Refactor, and choose Reorder Parameters.

    The Reorder Parameters dialog box appears.

  3. In the Reorder Parameters dialog box, move the parameters into the order you want, and click OK.

    The parameter order changes in code and in the shape on the class diagram.

See Also

Tasks

How to: View Compartments in Type Shapes

Other Resources

Refactoring Classes and Types