[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

TObject.UnitName

Unit name

Declaration

Source position: objpash.inc line 230

class function TObject.UnitName: ansistring;

Description

UnitName returns the unit name in which the class was defined. The name is obtained from the class definition data the compiler generates for each class.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.