开发者

How can I locate .NET Library property/function that return a particular type?

Occasionally I will know that there is a .NET Framework function that returns a particular type of object, but I can't recall the property or function name. It would be really nice to be able to somehow scan the Framework or other DLL for functions that return a particular type of object. (For example, it would have helped when I asked this question, and I have a similar question again.)

Can anyone开发者_StackOverflow suggest how I might do this?


Reflector will help with this. Search for and select your type (F3) and use Analyze (Ctrl+R) on it. Then expand the Used By node.

You'll still need to narrow things down from this list, but it gives a good start.

Edit: Actually, you get Exposed By and Instantiated By nodes as well, so among those options I think you are covered.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜