This documentation is archived and is not being maintained.

TypeBuilder.GetField Method

Returns a field defined by the current TypeBuilder.

Name Description
TypeBuilder.GetField (String) Searches for the public field with the specified name.
TypeBuilder.GetField (String, BindingFlags) Returns the field specified by the given name.
TypeBuilder.GetField (Type, FieldInfo) Returns the field of the specified constructed generic type that corresponds to the specified field of the generic type definition.