Expand Minimize
1 out of 1 rated this helpful - Rate this topic

<type1> '<membername>' conflicts with <type2> '<membername>' on the base class <type3> '<classname>' and should be declared 'Shadows'

A programming element is declared with the same name as an element defined in the base class. In this situation, the element in this class should shadow the base class element.

This message is a warning. Shadows is assumed by default. For more information about hiding warnings or treating warnings as errors, please see Configuring Warnings in Visual Basic.

Error ID: BC40004

To correct this error

  • Add the Shadows keyword to the declaration, or change the name of the element being declared.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.