Show: Delphi C++
Display Preferences

System.TObject.UnitScope

From XE2 API Documentation
Jump to: navigation, search

Delphi

class function UnitScope: string;

C++

__classmethod String __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

Personal tools
Previous Versions
Translations