Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModuleBuilder.DefineType Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DefineType(String) Constructs a TypeBuilder for a private type with the specified name in this module.
Public method DefineType(String, TypeAttributes) Constructs a TypeBuilder given the type name and the type attributes.
Public method DefineType(String, TypeAttributes, Type) Constructs a TypeBuilder given type name, its attributes, and the type that the defined type extends.
Public method DefineType(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.
Public method DefineType(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.
Public method DefineType(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.
Public method DefineType(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.
Top
Show:
© 2014 Microsoft. All rights reserved.