RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule._AddRef Method

Increments the reference count for this data module's interface.

Pascal
function _AddRef: Integer; stdcall;
C++
__fastcall __stdcall int _AddRef();

Do not call the __AddRef method directly. This method is called when an application obtains a reference to the SOAP data module's interface pointer. __AddRef increments the RefCount property. 

When the caller is through with the interface, it calls _Release. This allows the data module to free itself when it is no longer used (when the reference count goes to zero). 

 

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