JVCL Help:TExtensibleInterfacedPersistent.SuspendRefCount
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TExtensibleInterfacedPersistent.SuspendRefCount Method
[+] TExtensibleInterfacedPersistent Fields
[+] TExtensibleInterfacedPersistent Methods
[+] TExtensibleInterfacedPersistent Properties
Search in JVCL Help
Search in all projectsSummary
Increments RefCount.
Pascal
procedureSuspendRefCount;
Description
SuspendRefCount increments RefCount and is basically an alias for _AddRef, except that descendants might not do anything in _AddRef whereas SuspendRefCount is guaranteed to increase RefCount (thread-safe).
Together with ResumeRefCount you can temporarily disable reference counting if a certain process may result in a reference to the object being made and released, resulting in an undesired destruction of the object.
See Also
TExtensibleInterfacedPersistent.ResumeRefCount
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