System.Rtti.TRttiInstanceType.GetDeclaredFields

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also