Returns a field having the specified name and binding attributes.
Syntax
Parameters
- name
-
The field name.
- bindingAttr
-
One of the BindingFlags bit flags used to control the search.
Returns
A FieldInfo object having the specified name and binding attributes, or null if the field does not exist.
Exceptions
Remarks
Requirements
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0