Click or drag to resize
IReflectGetFields Method
Returns an array of FieldInfo objects that correspond to all fields of the current class.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
FieldInfo[] GetFields(
	BindingFlags bindingAttr
)

Parameters

bindingAttr
Type: System.ReflectionBindingFlags
The binding attributes used to control the search.

Return Value

Type: FieldInfo
An array of FieldInfo objects containing all the field information for this reflection object that meets the search constraints specified in bindingAttr.
See Also