Variables in Modules cannot be declared '<specifier>'

You have used a specifier, such as MustInherit, on a variable in a Module statement. Modules can never be instantiated, do not support inheritance, and cannot implement interfaces.

Error ID: BC30593

To correct this error

  • Remove the specifier.

See Also

Reference

Module Statement