System.TObject.ClassInfo

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 (Object Pascal) or NULL (C++). All classes descended from TPersistent do provide run-time type information.

See Also