The Object Browser: Browsing Scope
Keyboard: CTRL + ALT + J
Menu: View -> Object Browser
Command: View.ObjectBrowser
Versions: 2008,2010
Published: 8/27/2010
Code: vstipTool0078
When you use the Object Browser it's a good idea to know what you are getting. So I thought we would start our examination at the top with the Browse area:
Browse
The Browse drop-down box lets you specify the browsing scope (the list of items you see in the Objects Pane):
All Components-quite literally lets you browse ALL components including all of the .NET Framework, the current solution and its referenced components, and any other components that you have added by selecting Edit Custom Component Set. It's a massive dose of information overload so be prepared.
Framework X / Silverlight X-set the browsing scope to a specific version of the Framework.
My Solution-shows items in the current solution and referenced components.
Custom Component Set-browsing scope is set to the list of components identified by editing the Custom Component Set.
For example, if I choose ".NET Framework 4" then this is part of what I see in the Objects Pane:
Edit Custom Component Set
You can edit the Custom Component Set to identify the components that will create the browsing scope. There are two ways to do this: (1) choose "Edit Custom Component Set" in the browse drop-down box and/or (2) click on the "Edit Custom Component Set" button on the toolbar:
Regardless of the method used, you will get the Edit Custom Component Set dialog box:
From here you can add or remove components from a variety of sources. The browsing scope of the Custom Component Set is determined by the items listed in the "Selected projects and components" section. As you can see, there is information on the type, version, and source (location) in this section.
If you pick something that can't be browsed then you will get this message:
Once you have successfully edited the Custom Component Set it will automatically be selected in the Browse drop-down box and become the current browsing scope: