System.Rtti.TRttiType.TypeKind
Delphi
property TypeKind: TTypeKind read GetTypeKind;
C++
__property System::TTypeKind TypeKind = {read=GetTypeKind, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiType |
Description
Specifies the reflected type's kind.
Use TypeKind to obtain the type category of the reflected type (also known as type kind). The value of TypeKind is a TTypeKind enumeration.
TypeKind can be used to determine the general traits of a type. For example, you can determine whether a type is ordinal or floating-point, whether it is a string and what kind of string.