When your code makes reference to a declared element, the Visual Basic compiler matches the name in your reference to the appropriate declaration of that name. If more than one element is declared with the same name, you can control which of those elements is referenced by qualifying its name.
Qualifying a name means preceding it in your source statement with information that resolves any possible ambiguity. Qualifying information can include one or more namespaces, a class, a structure, or a module. In the following example, the Sub procedure SomeSub is declared in more than one place, and the Call statement specifies that the procedure that should be called is the one defined in the module SomeMod in the namespace SomeSpace:
Call SomeSpace.SomeMod.SomeSub() ' SomeSub is qualified.

Comments
Join the conversation! Your thoughts help the community grow.