Returns all the public fields of the current Type.
[Visual Basic] Overloads Public Function GetFields() As FieldInfo () [C#] public FieldInfo[] GetFields(); [C++] public: FieldInfo* GetFields() []; [JScript] public function GetFields() : FieldInfo[];
An 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.
Type Class | Type Members | System Namespace | Type.GetFields Overload List