TObject.UnitName

Unit name

Declaration

Source position: objpash.inc line 254

public 
  class function 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.