Datasnap.Win.SConnect.TStreamedConnection._Release
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp
| |
Unit: Datasnap.Win.SConnect | |
Parent: TStreamedConnection |
Delphi
function _Release: Integer; stdcall;
C++
HIDESBASE int __stdcall _Release();
Description
Called when an application releases a component interface.
Datasnap.Win.SConnect.TStreamedConnection. Release inherits from System.Classes.TComponent._Release. All content below this line refers to System.Classes.TComponent._Release.
Called when an application releases a component interface.
_Release is a basic implementation of the IInterface method, _Release.
_Release returns the resulting value of the reference count for the component's interface.
Note: In all other cases, _Release simply returns –1 and takes no action. This allows the component to implement interfaces where reference counting is not required. More sophisticated components should override _Release to implement reference counting.