System.Rtti.TRttiInstanceType.GetDeclaredFields
Delphi
function GetDeclaredFields: TArray<TRttiField>; override;
C++
virtual System::DynamicArray<TRttiField*> __fastcall GetDeclaredFields(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiInstanceType |
Description
Returns a list of all the fields declared in the reflected class type.
Use the GetDeclaredFields method to obtain a list of all the fields (variables) that are declared in the reflected class type. To obtain the list of all fields in the reflected class (including the inherited ones), use the GetFields method instead.