RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TypInfo.TTypeInfo Record

Holds information for a data type as returned by TypeInfo.

Pascal
TTypeInfo = record
  Kind: TTypeKind;
  Name: ShortString;
end;
C++
struct TTypeInfo {
  TTypeKind Kind;
  ShortString Name;
};

TypInfo

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 the GetTypeData.  
Name  
The name of the data type.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!