This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
/import (Import a Namespace From a Specified Assembly)
Imports a namespace from a specified assembly.
/import:namespace[,namespace]
Parameters
- namespace
- The namespace to be imported
Remarks
The /import option will import any namespace defined within the current set of source files or from any referenced assembly.
Example
Compile in.vb
and import the namespace mynamespace
:
vbc /import:mynamespace in.vb
See Also
Visual Basic Compiler Options | References and the Imports Statement