System.Rtti.TRttiContext.GetPackages

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPackages: TArray<TRttiPackage>;

C++

System::DynamicArray<TRttiPackage*> __fastcall GetPackages();

Properties

Type Visibility Source Unit Parent
function public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiContext

Description

Returns a list of TRttiPackage describing all loaded packages.

Use GetPackages to obtain a list RTTI objects describing all packages that are currently loaded in the application. The returned TRttiPackage instances can be used to query all the public types provided by the described package.

See Also