Module <keyword> (Visual Basic)
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Specifies that an attribute at the beginning of a source file applies to the current assembly module.
Many attributes pertain to an individual programming element, such as a class or property. You apply such an attribute by attaching the attribute block, within angle brackets (
< >), directly to the declaration statement.
If an attribute pertains not only to the following element but to the current assembly module, you place the attribute block at the beginning of the source file and identify the attribute with the
Module keyword. If it applies to the entire assembly, you use the Assembly keyword.
Module modifier is not the same as the Module Statement.