System.Rtti.TRttiType.GetDeclaredProperties
Delphi
function GetDeclaredProperties: TArray<TRttiProperty>; virtual;
C++
virtual System::DynamicArray<TRttiProperty*> __fastcall GetDeclaredProperties();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiType |
Description
Returns a list of all the properties declared in the reflected type.
Use the GetDeclaredProperties method to obtain a list of all the properties that are declared in the reflected type. To obtain the list of all properties in the reflected type (including the inherited ones), use the GetProperties method instead.
Note: GetDeclaredProperties is only supported for class types.