System.TypInfo.TTypeInfo
Delphi
  TTypeInfo = record
    Kind: TTypeKind;
    Name: TSymbolName;
    function NameFld: TTypeInfoFieldAccessor; inline;
   {TypeData: TTypeData}
    function TypeData: PTypeData; inline;
  end;
C++
struct DECLSPEC_DRECORD TTypeInfo
{
public:
    System::TTypeKind Kind;
    TSymbolName Name;
    TTypeInfoFieldAccessor __fastcall NameFld(void);
    PTypeData __fastcall TypeData(void);
};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| record struct | public | System.TypInfo.pas System.TypInfo.hpp | System.TypInfo | System.TypInfo | 
Description
Holds information for a data type as returned by TypeInfo.
The TypeInfo function is part of Delphi's Run Time Type Information (RTTI) mechanism. It provides run-time information about a specific data type. TypeInfo returns a PTypeInfo pointer to a TTypeInfo value.
The TTypeInfo holds the following fields:
| Field | Meaning | 
|---|---|
| Kind | The kind of type in RTTI terms. This value is required to select the appropriate variant section in the TTypeData returned by GetTypeData. | 
| Name | The name of the data type. |