Provides a container for a CodeDOM program graph.
Assembly: System (in System.dll)
Thetype exposes the following members.
|AssemblyCustomAttributes||Gets a collection of custom attributes for the generated assembly.|
|EndDirectives||Gets a CodeDirectiveCollection object containing end directives.|
|Namespaces||Gets the collection of namespaces.|
|ReferencedAssemblies||Gets the referenced assemblies.|
|StartDirectives||Gets a CodeDirectiveCollection object containing start directives.|
|UserData||Gets the user-definable data for the current object. (Inherited from CodeObject.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
provides a container for a CodeDOM program graph.
contains a collection that can store CodeNamespace objects containing CodeDOM source code graphs, along with a collection of assemblies referenced by the project, and a collection of attributes for the project assembly.
Some languages support only a single namespace that contains a single class in a compile unit.
The following code example constructs a that models the program structure of a simple "Hello World" program. This code example is part of a larger example that also produces code from this model, and is provided for the CodeDomProvider class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.