TypeBuilder.GetField Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a field defined by the current TypeBuilder.

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


Searches for the public field with the specified name.(Inherited from Type.)

System_CAPS_pubmethodGetField(String, BindingFlags)

Returns the field specified by the given name.(Overrides Type.GetField(String, BindingFlags).)

System_CAPS_pubmethodSystem_CAPS_staticGetField(Type, FieldInfo)

Returns the field of the specified constructed generic type that corresponds to the specified field of the generic type definition.

Return to top