Visual Studio 2008显示此成员 [英] Visual Studio 2008 Display this.members

查看:71
本文介绍了Visual Studio 2008显示此成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我敢肯定这个问题已经被问过了,但是我在任何地方都找不到答案.

在Visual Studio 2008代码窗口中工作时,是否有一种简单的方法可以让Intellisense显示当前"this"成员的列表,而无需实际键入"this" ??

似乎是一件显而易见的事情.

任何答复将不胜感激.

最好的祝福,Patrick

Hi,

I am sure this question has been asked before, but I couldn''t find an answer anywhere.

When working in the Visual Studio 2008 code window, is there an easy way to get Intellisense to display a list of current ''this.'' members without actually having to type ''this.''?

Seems like such an obvious thing.

Any replies would be very much appreciated.

Best wishes, Patrick

推荐答案

就找到了! CTRL-J做到了这一点,在范围内显示了所有内容,包括当前类的成员(因此您无需键入"this"即可看到它们).
Just found it! CTRL-J does the trick, displaying everything in scope, including the members of the current class (so you don''t need to type ''this.'' to see them).


您始终可以在本地"窗口中查看(一旦您的代码达到断点).
You can always have a look at the "Locals" window (once your code hits a breakpoint).


这篇关于Visual Studio 2008显示此成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆