System.TObject.ClassInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ClassInfo: Pointer; inline;

C++

__classmethod void * __fastcall ClassInfo();

Properties

Type Visibility Source Unit Parent
function public
System.pas
systobj.h
System TObject

Description

Returns a pointer to the run-time type information (RTTI) table for the object type.

ClassInfo provides access to the RTTI table for a given object type.

Some classes do not provide run-time type information. For these classes, ClassInfo returns nil (Delphi) or NULL (C++). All classes descended from TPersistent do provide run-time type information.

See Also