System.TAggregatedObject._Release
Delphi
function _Release: Integer; stdcall;
C++
int __stdcall _Release();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.pas systobj.h |
System | TAggregatedObject |
Description
Implements the IInterface_Release method.
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 becomes zero).