Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeBuilder::DefineField Method

 

Adds a new field to the dynamic type.

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

NameDescription
System_CAPS_pubmethodDefineField(String^, Type^, FieldAttributes)

Adds a new field to the type, with the given name, attributes, and field type.

System_CAPS_pubmethodDefineField(String^, Type^, array<Type^>^, array<Type^>^, FieldAttributes)

Adds a new field to the type, with the given name, attributes, field type, and custom modifiers.

Return to top
Show:
© 2017 Microsoft