System.DelphiInterface.Release
C++
int Release()
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | systobj.h | System | DelphiInterface |
Description
Release removes its references to the underlying interface class.
Because DelphiInterface handles reference counting, Release allows DelphiInterface to remove the reference to the reference counted object, when the object is deleted.
The function returns the number of references the object has left after DelphiInterface releases it.