ModuleBuilder.DefineType Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Defines a type in this module. To define a value type, define a type that is derived from ValueType.

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

Overload List

  Name Description
Public method DefineType(String) Defines a private type with the specified name in this module.
Public method DefineType(String, TypeAttributes) Defines a type with the specified type name and attributes in this module.
Public method DefineType(String, TypeAttributes, Type) Defines a type with the specified type name, attributes, and base type in this module.
Public method DefineType(String, TypeAttributes, Type, array<Type[]) Defines a type with the specified type name, attributes, base type, and implemented interfaces in this module.

Top