简体   繁体   English

我如何找到在Visual Studio 2008中正在调用特定功能的所有线/位置/点?

[英]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.

相关问题 如何在Visual Studio 2008中找到所有表达式“variable = variable;”? - How do I find all expression “variable = variable;” in the Visual Studio 2008? 如何在Visual Studio解决方案中找到所有名称空间? - How do I find all namespaces in my Visual Studio solution? 如何检查特定线程上是否正在调用函数? - How can I check if a function is being called on a particular Thread? 在Visual Studio 2008或Visual Studio 2010中,如何在安装过程中修改dll的注册位置? - In Visual Studio 2008 or Visual Studio 2010, how can I modify where a dll is registered during a install? 如何重新同步Visual Studio 2008 Windows窗体设计器? - How do I resync the Visual Studio 2008 Windows Forms Designer? 如何为Visual Studio 2008插件创建安装程序? - How do I create an installer for Visual Studio 2008 addin? Visual Studio - 跳转到调用 function 的热键? - Visual Studio - Hotkey to jump to where a function is called? 我在哪里/如何在C#代码中编写T-SQL并获取结果(Visual Studio 2008) - Where/how do I write T-SQL in my C# code and get the result (Visual Studio 2008) 我在Visual Studio中的哪里找到事件声明 - Where do I find event declarations in Visual Studio 在哪里可以找到数据库? Visual Studio和SQL - Where do I find the databases? Visual Studio and SQL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM