System.TObject.UnitScope

From RAD Studio API Documentation
Jump to: navigation, search

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
 // ...

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.TObject.UnitScope&oldid=167122"