Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.954 Beiträge
 
#1

Fun with Delphi Rtti – Dump a TRttiType Definition

  Alt 10. Okt 2010, 07:40
Here ‘s a sample code of how you can dump the declaration of a TRttiType using the rtti. Supports classes, records and interfaces. uses Rtti, TypInfo, Classes, Generics.Collections, SysUtils; function DumpTypeDefinition(ATypeInfo: Pointer;OnlyDeclarated:Boolean=False) :string; ...

More...
  Mit Zitat antworten Zitat