'Inherits' statement must precede all declarations in a class

The Inherits statements must be at the beginning of class definitions.

Error ID: BC30683

To correct this error

  • Move the Inherits statement to the top of your class.

See Also

Reference

Inherits Statement

Other Resources

Inheritance in Visual Basic