help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

TInterfacedObject

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TObject descendent implementing the IUnknown interface

Declaration

Source position: objpash.inc line 216

type TInterfacedObject = class(TObject)

public

  procedure AfterConstruction; override;

  

Handle reference count properly.

  procedure BeforeDestruction; override;

  

Check reference count.

  function NewInstance; override;

  

Create a new instance

  property RefCount: LongInt; [r]

  

Return the current reference count

end;

Inheritance

TInterfacedObject

  

TObject descendent implementing the IUnknown interface

|

TObject

  

Base class of all classes.

Description

TInterfacedObject is a descendent of TObject which implements the IUnknown interface. It can be used as a base class for all classes which need reference counting.

See also

IUnknown

  

Basic interface for all COM-based interfaces

TObject

  

Base class of all classes.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505