System.TypeInfo

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From System.pas

	function TypeInfo(const T): Pointer;


Unit: System

Type: function

Visibility: public

Description

Returns the RTTI information for a given type.


Use TypeInfo to obtain a pointer to the RTTI (Run-time Type Information) block describing a given type. TypeInfo accepts a type name as its parameter, for example Integer or TButton, and returns an untyped pointer.

Use TypeInfo in combination with the classes and methods offered by the Rtti or TypInfo unit.

See Also

Personal tools
Translations
Newest Version