Skip to content

TInterfacedObject.RefCount

Return the current reference count.

Declaration

Source position: objpash.inc line 392

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.