类实现了哪些接口? [英] What interfaces are implemented by a class?

查看:24
本文介绍了类实现了哪些接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为这是一个简单的东西,但我找不到它.

I think it is a simple stuff, but I cannot find it.

有没有什么简单的方法可以知道一个类实现了哪些接口?直接或在其祖先类中.

Are there any easy way to know what interfaces a class implements? Directly or in its ancestor classes.

我有没有商业插件的 Visual Studio 2010 Pro.

I have Visual Studio 2010 Pro without commercial addons.

谢谢.

推荐答案

另一种方法是打开 Class View 窗口(菜单 View -> Class View)并在 Base Types 下的图形表示中查看它:

Another way is to open Class View window (menu View -> Class View) and see it in a graphical representation under Base Types:

另外,请确保您已安装生产力电动工具 因为它允许您通过非常方便的交互式工具提示查看基本/派生类型、引用等:

Also, make sure you've installed Productivity Power Tools because it allows you to see base / derived types, references, etc. through very handy interactive tool tips:

这篇关于类实现了哪些接口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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