RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule.RefCount Property

Reference counts the data module's interface.

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

RefCount keeps track of the number of times the application takes a reference to the SOAP data module's interface. When application code obtains this data module's interface, a call is generated to the _AddRef method, which increments RefCount. When application code releases the interface, a call is generated to the _Release method, which decrements RefCount. When RefCount drops to zero, the SOAP data module frees itself if its Owner property is not nil (Delphi) or NULL (C++). 

 

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