Keyboard: CTRL + ALT + I
Menu: Debug -> Windows -> Immediate
Command: Debug.Immediate
Versions: 2008,2010
Published: 9/28/2010
Code: vstipTool0095
When using with the Immediate Window, you can work with class and object members directly:
Debug
You can use any method or property as long as it is in context. So, for example, when you are in debug mode, you can call any method that is in scope:
Design
A less-known feature is you can work with properties and methods while in design mode. If you have static methods on a class, for example, you can just execute them right away:
For object members, obviously, you need to create an instance of the object before working with the members:
WARNING: When working with members at design-time a build will occur. This could have unintended consequences so make sure you have experimented with this feature a bit before you use it.