The '<keyword>' keyword is used to overload inherited members; do not use the '<keyword>' keyword when overloading 'Sub New'

A constructor is declared with the Overloads keyword.

Visual Basic does not support inheriting or overloading constructors.

Error ID: BC32040

To correct this error

  • Remove the Overloads keyword from all constructor declarations.

See Also

Reference

Overloads

Using Constructors and Destructors