Some of the selected type(s) cannot be added to the class diagram
One or more types in your code cannot be displayed in the class diagram.
To correct this error
Check your code for errors.
Ensure that the selected code elements are supported in Class Designer. (For example, only native C++ code is supported.)
Ensure that all required assemblies are referenced.
See Also
Concepts
Working with Visual C++ Code in Class Designer