System.TObject.UnitScope
Delphi
class function UnitScope: string;
C++
__classmethod UnicodeString __fastcall UnitScope();
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.pas systobj.h  | 
        System | TObject | 
Description
Returns the class's unit scope.
The class's unit scope is currently equivalent with the class's unit name.
uses
  SysUtils, SyncObjs;
begin
  Writeln(TEvent.UnitScope); // displays System.SyncObjs
  // ...