System.Reflection.Emit.TypeBuilder Class

Defines and creates new instances of classes during run time.

See Also: TypeBuilder Members


public sealed class TypeBuilder : System.Reflection.TypeInfo, System.Runtime.InteropServices._TypeBuilder


TypeBuilder is the root class used to control the creation of dynamic classes in the runtime. TypeBuilder provides a set of routines that are used to define classes, add methods and fields, and create the class inside the runtime. A new TypeBuilder can be created from a dynamic module.

To create an array type, pointer type, or byref type for an incomplete type that is represented by a System.Reflection.Emit.TypeBuilder object, use the TypeBuilder.MakeArrayType method, TypeBuilder.MakePointerType method, or TypeBuilder.MakeByRefType method, respectively.


Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,