Provides a container for a CodeDOM program graph.
Assembly: System (in System.dll)
Gets a collection of custom attributes for the generated assembly.
Gets a CodeDirectiveCollection object containing end directives.
Gets the collection of namespaces.
Gets the referenced assemblies.
Gets a CodeDirectiveCollection object containing start directives.
Gets the user-definable data for the current object.(Inherited from CodeObject.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
provides a container for a CodeDOM program graph.
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.contains a collection that can store
Some languages support only a single namespace that contains a single class in a compile unit.
The following code example constructs a CodeDomProvider class.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
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.