This documentation is archived and is not being maintained.

TypeBuilder.DefineField Method

Adds a new field to the dynamic type.

Name Description
TypeBuilder.DefineField (String, Type, FieldAttributes) Adds a new field to the type, with the given name, attributes, and field type.
TypeBuilder.DefineField (String, Type, Type[], Type[], FieldAttributes) Adds a new field to the type, with the given name, attributes, field type, and custom modifiers.
Show: