RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.RefCount Property

Maintains a reference count on the use of the TRIO object's interface.

Pascal
property RefCount: Integer;
C++
__property int RefCount;

RefCount keeps track of the usage on the TRIO object's interface. RefCount is incremented by the interface's _AddRef method (Delphi) or AddRef method (C++) and decremented by its _Release method (Delphi) or Release method (C++).  

If the TRIO object is created without an Owner, then when RefCount drops to zero, the TRIO instance is automatically freed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!