Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A class using a COMClassAttribute attribute block does not define any Public properties or methods. If a class is to be exposed as a COM object, its properties and methods must be declared with Public access.
The message is a warning by default. For more information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC40011
To correct this error
- Add the Public keyword to one or more properties or methods in the class, or remove the COMClassAttribute attribute block.
See Also
Concepts
Attributes Used in Visual Basic