Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Implements (Visual Basic) 

Indicates that a class or structure member is providing the implementation for a member defined in an interface.

The Implements keyword is not the same as the Implements Statement. You use the Implements statement to specify that a class or structure implements one or more interfaces, and then for each member you use the Implements keyword to specify which interface and which member it implements.

If a class or structure implements an interface, it must include the Implements statement immediately after the Class Statement (Visual Basic) or Structure Statement, and it must implement all the members defined by the interface.

Reimplementation

In a derived class, you can reimplement an interface member that the base class has already implemented. This is different from overriding the base class member in the following respects:

  • The base class member does not need to be Overridable to be reimplemented.

  • You can reimplement the member with a different name.

The Implements keyword can be used in these contexts:

Event Statement

Function Statement (Visual Basic)

Property Statement

Sub Statement (Visual Basic)

Community Additions

ADD
Show:
© 2015 Microsoft