Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DefineField Method

TypeBuilder.DefineField Method

Adds a new field to the dynamic type.

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

  NameDescription
Public method DefineField(String, Type, FieldAttributes) Adds a new field to the type, with the given name, attributes, and field type.
Public method DefineField(String, Type, Type[], Type[], FieldAttributes) Adds a new field to the type, with the given name, attributes, field type, and custom modifiers.
Top

Community Additions

ADD
Show:
© 2015 Microsoft