RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule._Release Method

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

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

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

If the SOAP data module does not have an Owner, that is, if the value of the Owner property is nil (Delphi) or NULL (C++), then if the call to __Release changes the value of RefCount to zero, the SOAP data module automatically frees itself. 

 

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