Export (0) Print
Expand All

Reorder Parameters 

Reorder Parameters is a Visual C# refactoring operation that provides an easy way to change the order of the parameters for methods, indexers, and delegates. Reorder Parameters changes the declaration, and at any locations where the member is called, the parameters are rearranged to reflect the new order.

You can perform the Reorder Parameters operation by first positioning the cursor on a method, indexer, or delegate. When the cursor is in position, invoke the Reorder Parameters operation by typing the keyboard shortcut, or by selecting the command from a context menu.

When you invoke Reorder Parameters, the Reorder Parameters dialog box appears. For more information, see Reorder Parameters Dialog Box and How to: Reorder Parameters.

You can reorder parameters from a method declaration or a method call. Position the cursor in the method or delegate declaration but not in the body.

Community Additions

ADD
Show:
© 2014 Microsoft