aliasname(optional; String literal)
The name by which the namespace will be referenced in the module
namespace(required; String literal)
The name of the namespace being imported
The name of an element in the namespace
Imports namespaces or parts of namespaces, making their members available to the current module
Imports statement can import one
A module can have have as many
Imports statements are used to import names from
other projects and assemblies, as well as from namespaces in the
Imports statements must be placed in a module
before references to any identifiers (e.g., variables, classes,
procedures, functions, etc.).
namespace must be a fully qualified
namespace name, even if you use the /rootnamespace compiler option or
supply a value for the “Root
namespace” text box in the General tab of a
project’s Properties dialog in Visual Studio.
aliasname is absent from an
Imports statement, types in that namespace can be
referenced without qualification.
aliasname is present in an
Imports statement, types in that namespace must be
aliasname in order to be
aliasname must not be assigned to
any other member within the module.
element is specified, it can be the name of an enumeration, structure, class, or module within the namespace. If specified, this ...