Member '<membername>' conflicts with member '<membername>' in the base type '<basetypename>' and so should not be declared 'Overloads'
A property or procedure uses the Overloads keyword to redeclare an existing property or procedure with the same name, but the existing property or procedure is in the base class.
Overloading is used to define multiple versions of a property or procedure all in the same class. You cannot define an additional version of a base class member unless the base class member already specifies Overloads.
By default, this message is a warning. For more information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC40021
If you intend to define an additional version of the base class member and have access to the source code of the base class, add the Overloads keyword to the base class definition.
If you do not have access to the source code of the base class, you cannot overload the member in a derived class. Remove the
Overloads
keyword.If you wish to replace the base class member instead of defining an additional version of it, use the Overrides keyword instead of
Overloads
.If you wish to hide the base class member with a new member in the derived class, use the Shadows keyword instead of
Overloads
.
.NET feedback
.NET is an open source project. Select a link to provide feedback: