RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClass._Release Method

Implements the IInterface _Release method.

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

Do not call the protected __Release method directly. __Release is called through the IInterface interface to indicate that another object is through with the interfaced object's interface pointer. This allows the interfaced object to free itself when it is no longer used (when the reference count goes to zero).  

__Release decrements the RefCount property. 

 

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