How to: Display Inheritance Graphs

Inheritance browsing, or viewing type and member hierarchies using inheritance graphs, is a feature that is available through Class View and the Object Browser. It enables you to view the base types and derived types of the current type that is selected in the Class View tree or Object Browser. It also enables you to view inherited members of the currently selected type.

To display base types

  1. Open your project in the integrated development environment (IDE).

  2. In Class View, on the Class View Settings menu, select Show Base Types.

    — or —

    In the Object Browser, on the Object Browser Settings menu, select Show Base Types.

    For each node in the tree that is a type, a Base Types sub node appears that contains a list of all the base types of a type.

To display derived types

  1. Open your project in the IDE.

  2. In Class View, on the Class View Grouping menu, select Show Derived Types.

    — or —

    In the Object Browser, on the Object Browser Settings menu, select Show Derived Types.

    For each node in the tree that is a type, a Derived Types sub node appears that contains a list of all the derived types of a type.

To display inherited members

  1. Open your project in the IDE.

  2. In Class View, on the Class View Grouping menu, select Show Inherited Members.

    — or —

    In the Object Browser, on the Object Browser Settings menu, select Show Inherited Members.

    When you select a type in the tree, inherited members are displayed in the members pane along with the members defined within that type.

See Also

Tasks

How to: Display Call Graphs

Other Resources

Viewing Classes, Members, and Symbols