From RAD Studio API Documentation
Jump to: navigation, search


function TypeHandle(T: TypeIdentifier): Pointer;


Type Visibility Source Unit Parent
function public System.pas System System


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.

See Also