System.Rtti.TRttiContext.Create
Delphi
class function Create: TRttiContext; static;
C++
static TRttiContext __fastcall Create();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiContext |
Description
Initializes the TRttiContext instance.
Create is a static method that initializes the TRttiContext instance. Create does not create more than one instance of TRttiContext. Because the RTTI information cannot change during the lifetime of an application, one instance of TRttiContext can be shared throughout the application, thus reducing the query times for RTTI information.