Contains a collection of NamespaceImport items.
For a list of all members of this type, see NamespaceImportCollection Members.
System.Object
NAnt.Core.Element
NAnt.Core.DataTypeBase
NAnt.DotNet.Types.DataTypeCollectionBase
NAnt.DotNet.Types.NamespaceImportCollection
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Define a reference with name "system.imports".
<namespaceimports id="system.imports"> <import namespace="System" /> <import namespace="System.Data" /> </namespaceimports>
Use the predefined set of imports to compile a VB.NET assembly.
<vbc target="exe" output="HelloWorld.exe" rootnamespace="HelloWorld"> <imports refid="system.imports" /> <sources> <include name="**/*.vb" /> </sources> <references> <include name="System.dll" /> <include name="System.Data.dll" /> </references> </vbc>
Namespace: NAnt.DotNet.Types
Assembly: NAnt.DotNetTasks (in NAnt.DotNetTasks.dll)
NamespaceImportCollection Members | NAnt.DotNet.Types Namespace