TypeBuilder.GetField Method

Returns a field defined by the current TypeBuilder.

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

  Name Description
Public method GetField(String) Searches for the public field with the specified name. (Inherited from Type.)
Public method GetField(String, BindingFlags) Returns the field specified by the given name. (Overrides Type.GetField(String, BindingFlags).)
Public method Static member GetField(Type, FieldInfo) Returns the field of the specified constructed generic type that corresponds to the specified field of the generic type definition.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft