RAD Studio VCL Reference
TInterfacedObject::_Release Method

Implements the IInterface System::TInterfacedObject::_Release method.

function _Release: Integer; stdcall;
__stdcall Integer _Release();

Do not call the protected _System::TInterfacedObject::_Release method directly. _System::TInterfacedObject::_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). 

_System::TInterfacedObject::_Release decrements the System::TInterfacedObject::RefCount property. 


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