Freigeben über


TypeBuilder.DefineField 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

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.

Overload List

  Name Description
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, array<Type[], array<Type[], FieldAttributes) Adds a new field to the type, with the given name, attributes, field type, and custom modifiers.

Top