JVCL Help:TExtensibleInterfacedPersistent.FRefCount

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates the number of interface pointers currently dependent upon the object.


Pascal

 FRefCount: Integer;


Description

FRefCount defines the lifetime of the object. When FRefCount is zero, the object is destroyed.
FRefCount is incremented by calls to the _AddRef method and decremented by the _Release method.
FRefCount is the field used by the RefCount property. The field is declared protected to allow it to be manipulated using the interlocked routines from descendants.


See Also

TExtensibleInterfacedPersistent.RefCount


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page