O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing the Rename Operation

You can rename from many places within the IDE. In the section “Invoking the Refactoring Tools,” earlier in this chapter, we looked at accessing Refactoring operations from the Quick Actions (light bulb) menu. You get this menu when you rename a type or method in the code editor. This allows you to apply the rename to the other code elements that reference the renamed item. You can also access Rename by right-clicking an element in the code editor. In addition, if you use the Properties dialog box to change the name of a control you’ve placed on a form or an element within class view. In both instances the Rename operation is invoked behind the scenes, and the item is renamed appropriately.

As an example, from the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required