[英]How do i find all the lines/places/points where a particular function is being called in Visual Studio 2008?
Say I have a function named SampleMethod
. 说我有一个名为
SampleMethod
的函数。 I have called this method multiple times in my program. 我在程序中多次调用了此方法。 Is there any way I can navigate to each of the calling points in the program ?
有什么方法可以导航到程序中的每个调用点? Quite frankly, is there way to reverse the usage of
Go to definiton
. 坦率地说,有办法逆转
Go to definiton
的用法。 I am using Visual Studio 2008
. 我正在使用
Visual Studio 2008
。
Right click on function and then select Find All References
option. 右键单击功能,然后选择“
Find All References
选项。
You can also use Shift + F12
keyboard shortcut to find all references of the function in VS 2008. 您还可以使用
Shift + F12
键盘快捷键在VS 2008中查找该功能的所有引用。
Right click on the function and choose Find All References
. 右键单击该功能,然后选择“
Find All References
。 This is in Visual Studio 2010 and 2012. 这是在Visual Studio 2010和2012中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.