Modules cannot be generic
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Modules cannot be generic 

A Module statement uses the Of keyword to introduce generic type parameters.

You can define and use generic classes, structures, interfaces, procedures, and delegates. You cannot define generic modules.

Error ID: BC32073

To correct this error

  1. Remove the Of keyword from the Module statement.

  2. If you want the functionality of a generic module, the closest approximation is a generic class. Use a Class Statement (Visual Basic) instead of a Module statement.

See Also

Show:
© 2016 Microsoft