Sign in Join
FPDoc Onlineexperiment

TInterfacedObject.RefCount property

Member of TInterfacedObjectpublicIn unit System

Return the current reference count.

Declaration

pascal
property RefCount: LongInt read FRefCount;

Description

RefCount returns the current reference count. This reference count cannot be manipulated, except through the methods of IUnknown. When it reaches zero, the class instance is destroyed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.