Skip to content

TObject.UnitName

Unit name.

Declaration

Source position: objpash.inc line 340

public 
class function TObject.UnitName : RTLString;

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.