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