No Interface Implementation

Modules cannot implement interfaces. If you need to implement interfaces, you should consider developing a class with shared members instead of a module.

Summary

Modules are an alternative for working with shared members and data. Although with some limitations if compared to classes, they are useful for exchanging information across the project. In this chapter you got an overview of modules, and you saw what the differences between modules and classes are.

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.