Module.GetFields Method
.NET Framework 1.1
Returns an array of fields implemented by a class.
[Visual Basic] Public Function GetFields() As FieldInfo() [C#] public FieldInfo[] GetFields(); [C++] public: FieldInfo* GetFields() []; [JScript] public function GetFields() : FieldInfo[];
Return Value
An array of type FieldInfo containing the fields implemented by a class, or a null reference (Nothing in Visual Basic) if the fields do not exist.
Remarks
The GetFields method does not return fields in a particular order, such as alphabetical or declaration order. Your code must not depend on the order in which fields are returned, because that order can vary.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard