Find Symbol lets you search for a symbol in a Visual Studio project. You can use this dialog box to locate objects (namespaces, types, interfaces, enumerations, and other containers) and members (classes, properties, methods, events, constants, variables, and other contained items) in code.
Use one of the following methods to display Find Symbol in the Find and Replace window.
To display Find Symbol
On the Edit menu, point to Find and Replace and then click Find Symbol.
If the Find and Replace window is already open, on the left side of its toolbar, click the drop-down arrow on the Find list and then click Find Symbol.
The option chosen from the Look in list determines whether Find Symbol searches only in currently active files or in a broader set of components. Select a search scope from the list, or click the Browse (...) button to display the Edit Custom Component Set Dialog Box and modify the Other Components search scope.
Select a predefined search scope from the following table:
Searches all available components for the Find what string. This includes the current solution and its referenced components, all of the .NET Framework, and any components that you have added using Add Other Components.
You can select to search a specific version of the .NET Framework and the .NET Compact Framework. For example, if you have .NET Framework 2.0 and the .NET Framework 3.0 on your computer, you can choose to search only .NET Framework 3.0 This list may also include registered third-party frameworks.
Searches the open solution.
Custom Component Set (Object Browser)
Searches the components currently added to the Custom Component Set search scope of the Object Browser.
Custom Component Set (Find Symbol)
Searches the components currently added to the Custom Component Set search scope in Find Symbol.
Look in References
When selected, the Find Symbol Result window displays references in the projects in the current browsing scope. By default, this option is selected.
You can expand or collapse the Find Options section. The following options can be selected or cleared:
Match whole word
When selected, the Find Symbol Result window displays only whole word matches.
When selected, the Find Symbol Results window displays any symbols whose names begin with the Find what string. For example, a search for "MyObject" will return "MyObject," "MyObjectTest," and so forth, but not "CMyObject."
When selected, the Find Symbol Results window displays all symbols whose names include the Find what string anywhere. For example, a search for "MyObject" will return "MyObject," "MyObjectTest" and "CMyObject."
When selected, the Find Symbol Results window displays a case-sensitive search.
A toolbar, with two drop-down lists, appears at the top of the Find and Replace window. These lists let you select the type of find or replace you intend to perform and changes the options displayed in the window to match.