System.TypeHandle
Delphi
function TypeHandle(T: TypeIdentifier): Pointer;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas | System | System |
Description
Returns the RTTI information for a given type.
Use TypeHandle to obtain a pointer to the RTTI (Run-time Type Information) block describing a given type. TypeHandle accepts a type name as its parameter, for example Integer or TButton, and returns an untyped pointer.
Use TypeHandle in combination with the classes and methods offered by the System.Rtti or System.TypInfo unit.
Note: TypeHandle is an alias to the TypeInfo intrinsic routine.