Mono Class Library: System.CodeDom.CodeNamespace Overview | MembersSystem.CodeDom.CodeNamespace.Imports Property |
Collection of imports applicable to the namespace [Edit]
|
System.CodeDom.CodeNamespaceImportCollection object, which is a collection of imports applicable to the namespace. [Edit]
[Edit]
C# Example /* Creates namespace like thus when c# code is generated. /* namespace Mono.CodeDomDemo { /* using System.Data; /* } ... CodeNamespace demoNs= new CodeNamespace("Mono.CodeDomDemo"); demoNs.Imports.Add(new CodeNamespaceImport("System.Data")); ...
Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0