Viewing Types and Relationships (Class Designer)

Class Designer uses class diagrams to show you the details of types, for example, their constituent members, and the relationships that they share. The visualization of these entities is actually a dynamic view into the code. This means that you can edit types on the designer and then see your edits reflected in the source code of the entity. Similarly, the class diagram is kept synchronized with changes you make to entities in code.

Note Note

If your project contains a class diagram and if your project references a type that is located in another project, the class diagram does not show the referenced type until you build the project for that type. Likewise, the diagram does not display changes to the code of the external entity until you rebuild the project for that entity. For information about type in referenced assemblies and read-only files, see Display of Read-Only Information (Class Designer).

How to: View Existing Types (Class Designer)

Describes how Class Designer can be used to visualize pre-existing code.

How to: View Inheritance Between Types (Class Designer)

Describes how to view the inheritance relationships between types.

How to: Change Between Member Notation and Association Notation (Class Designer)

Describes how to switch between member notation and association notation.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft