Compiler Error C3820

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3820.

name': initializers must be managed

The name initializer for a managed type must also be managed.

To correct this error

  1. Specify a managed initializer method.

Initializers
Additional Startup Considerations

Show: