'Implements' statement must follow any 'Inherits' statement and precede all declarations in a class

An Implements statement was encountered in an invalid location.

Error ID: BC31053

To correct this error

  • Place Implements statements immediately following any Inherits statements, but before any declarations. For example:

    Class Derived
       Inherits Base
       Implements One
       Sub SubOne() Implements One.Method1
          ' Add code to implement the method.
       End Sub
    End Class
    

See Also

Reference

Implements (Visual Basic)

Other Resources

Interfaces in Visual Basic