Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

How to: View Inheritance Between Types 

In Class Designer, you can view the inheritance relationship, if one exists, between a base type and its derived types on the class diagram. An inheritance relationship can exist between two classes, between two interfaces, or between a class and an interface.

NoteNote

You can define an inheritance relationship if none exists. For more information, see How to: Define Inheritance Between Types.

To view the base type

  1. On the class diagram, select the type for which you want to view the base class or interface.

  2. On the Class Diagram menu, choose Show Base Class or Show Base Interfaces as appropriate.

    The type's base class or interface appears selected on the diagram. Any hidden inheritance lines now appear between the two shapes.

You can also right-click the type whose base type you want to display, and choose Show Base Class or Show Base Interfaces as appropriate.

To view the derived types

  1. On the class diagram, select the type for which you want to view the derived classes or interfaces.

  2. On the Class Diagram menu, choose Show Derived Classes or Show Derived Interfaces as appropriate.

    The type’s derived classes or interfaces appear on the diagram. Any hidden inheritance lines now appear between the shapes.

You can also right-click the type for which you want to see its derived types, and choose Show Derived Classes or Show Derived Interfaces as appropriate.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft