Soap.SOAPDm.TSoapDataModule.RefCount
Delphi
property RefCount: Integer read FRefCount;
C++
__property int RefCount = {read=FRefCount, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Soap.SOAPDm.pas Soap.SOAPDm.hpp |
Soap.SOAPDm | TSoapDataModule |
Description
Reference counts the data module's interface.
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++).