DefineType Method
TOC
Collapse the table of content
Expand the table of content

ModuleBuilder.DefineType Method

 

Constructs a TypeBuilder. To define a value type, define a type that derives from ValueType.

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

NameDescription
System_CAPS_pubmethodDefineType(String)

Constructs a TypeBuilder for a private type with the specified name in this module.

System_CAPS_pubmethodDefineType(String, TypeAttributes)

Constructs a TypeBuilder given the type name and the type attributes.

System_CAPS_pubmethodDefineType(String, TypeAttributes, Type)

Constructs a TypeBuilder given type name, its attributes, and the type that the defined type extends.

System_CAPS_pubmethodDefineType(String, TypeAttributes, Type, Int32)

Constructs a TypeBuilder given the type name, the attributes, the type that the defined type extends, and the total size of the type.

System_CAPS_pubmethodDefineType(String, TypeAttributes, Type, PackingSize)

Constructs a TypeBuilder given the type name, the attributes, the type that the defined type extends, and the packing size of the type.

System_CAPS_pubmethodDefineType(String, TypeAttributes, Type, PackingSize, Int32)

Constructs a TypeBuilder given the type name, attributes, the type that the defined type extends, the packing size of the defined type, and the total size of the defined type.

System_CAPS_pubmethodDefineType(String, TypeAttributes, Type, Type[])

Constructs a TypeBuilder given the type name, attributes, the type that the defined type extends, and the interfaces that the defined type implements.

Return to top
Show:
© 2016 Microsoft