We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Unions as Class Types

Unions cannot have base classes; that is, they cannot inherit the attributes of other unions, structures, or classes. Unions also cannot be used as base classes for further inheritance.

Inheritance is covered in detail in Derived Classes.

Show: