Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TInterfacedObject.RefCount

Return the current reference count.

Declaration

Source position: objpash.inc line 366

public property TInterfacedObject.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

IUnknown

  

Basic interface for all COM-based interfaces.


Documentation generated on: Jul 27 2024