RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClass.RefCount Property

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

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

RefCount defines the lifetime of the object. When RefCount is zero, the object is destroyed.  

RefCount is incremented by calls to the _AddRef method and decremented by the _Release method.

Note:
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!