[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazClasses' (#lazutils)

TRefCountedObject.RefCount

Number of times the object instance has been referenced in the application.

Declaration

Source position: lazclasses.pas line 65

protected property TRefCountedObject.RefCount : Integer
  read FRefCount;

Description

RefCount is a read-only Integer property which contains the number of times the object instance has been referenced. Its value is maintained when methods like AddReference and ReleaseReference are called.

See also

TRefCountedObject.AddReference

  

Increments the value in RefCount and calls DoReferenceAdded.

TRefCountedObject.ReleaseReference

  

Decrements the value in RefCount and calls DoReferenceReleased.


Version 4.0 Generated 2025-05-03 Home