Skip to content

TInterfacedObject.RefCount

Return the current reference count

Declaration

Source position: objpash.inc line 314

public Property
  RefCount : LongInt;

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

Name Description
IUnknown Basic interface for all COM-based interfaces
LongInt A signed 32-bits integer