开发者

Is there a way to browse the derived types of a base type using the Object Browser [duplicate]

This question already has answers here: Finding class descendants in Visual Studio 2010 (4 answers) 开发者_运维百科 Closed 9 years ago.

Obviously this would be scoped to the current solution, but I need to find all the types that inherit from a particular base type. The Object Browser seems to only support backtracking through the inheritance tree from a given type.


Actually, this is weird:

On this MSDN page, it says:

Show Derived Types

Toggles display of derived types in the Objects pane. Available only for Visual C++ projects and the .NET Framework.

But the option 'Show Derived Types' doesnt appear for me in the Object Browser settings.

Alternatively, if you have ReSharper its just:

Press alt + end once you've clicked on the class in object browser.

Or right click on class > Derived Symbols.


With cursor on the type, right click - Inspect - Hierarchy

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜