Soap.Rio.TRIO.RefCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RefCount: Integer read FRefCount;

C++

__property int RefCount = {read=FRefCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Soap.Rio.pas
Soap.Rio.hpp
Soap.Rio TRIO

Description

Maintains a reference count on the use of the TRIO object's interface.

RefCount keeps track of the usage on the TRIO object's interface. RefCount is incremented by the interface's _AddRef method (Delphi) or AddRef method (C++) and decremented by its _Release method (Delphi) or Release method (C++).

If the TRIO object is created without an Owner, then when RefCount drops to zero, the TRIO instance is automatically freed.

See Also