Type Hierarchy view
This view shows the hierarchy of a type. The Type Hierarchy view consists of two panes:
Type Hierarchy tree pane
Member list pane (optional)
Type Hierarchy tree pane toolbar buttons
Show the Type Hierarchy - This command displays the type in its full context (i.e., superclasses and subclasses) in the Hierarchy view. To see for which type the hierarchy is shown, hover over the view title (e.g., "Hierarchy").
Show the Supertype Hierarchy - This command displays the supertypes and the hierarchy of all implemented interfaces of the type in the Hierarchy view. The tree starts at the selected type and displays the result of traversing up the hierarchy.
NOTE: The selected type is always at the top level, in the upper-left corner.
Show the Subtype Hierarchy - This command displays the subtypes of the selected class and/or all implementers of the interface in the Hierarchy view. The tree starts at the selected type and displays the result of traversing down the hierarchy
NOTE: The selected type is always at the top level, in the upper-left corner.
Member list pane toolbar buttons
The member list pane displays the members of the currently selected type in the type hierarchy tree pane:
Lock View and Show Members in Hierarchy
Shows the members implementing the selected method. Only types implementing the method are shown.
When the view is locked, the member list pane no longer tracks the selection in the hierarchy pane above.
Show All Inherited Members
Shows or hides all methods and fields inherited by base classes. When this option is set, the name of the type that defines the method is appended to the method name.
Sort Members by the Defining Type
Sorts the members according to the type in which they are defined.
Finding overridden methods
You can discover which methods override a selected method.
Open the type hierarchy for the selected method's declaring type. Toggle on the Show the Subtype Hierarchy toolbar button.
In the list pane of the Hierarchy view, make sure that the Lock View and Show Members in Hierarchy button is toggled on. This option locks the current class in the method pane and shows only those classes in the upper view that implement the currently selected method of the locked class.
The methods of interest are shown in the upper pane. You can select any method and open it in an editor.
NOTE: The selection might not show all members if a filter (such as Hide Fields or Hide Static Members) is active.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |