Extract Method Dialog Box
Use this dialog box to specify the name of the new method that Extract Method will generate, and to verify that Extract Method will construct the new method signature as you intended.
To access this dialog box, select the Extract Method command from the Refactor menu. This dialog box is only available when the selection of code is valid for extracting into a method.
New method name
Type the name of the new method that Extract Method generates.Preview method signature
Displays a preview of the new method signature. The signature is automatically determined by the refactoring engine based on the selected code, and it cannot be modified in this text box.
See Also
Tasks
How to: Refactor Code with Extract Method