Returns all the public fields of the current
Type.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public FieldInfo[] GetFields()
Return Value
Type:
FieldInfoAn array of
FieldInfo objects representing all the public fields defined for the current
Type.-or- An empty array of type
FieldInfo, if no public fields are defined for the current
Type.
See Also