Soap.InvokeRegistry.TInvokableClass._AddRef

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function _AddRef: Integer; stdcall;

C++

HIDESBASE int __stdcall _AddRef();

Properties

Type Visibility Source Unit Parent
function protected
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvokableClass

Description

Implements the IInterface _AddRef method.

Do not call the protected __AddRef method directly. __AddRef is called through the interface to indicate that another object is using the invokable object's interface pointer. When the other object is through with the interface, it calls _Release through the same interface. This allows the invokable object to free itself when it is no longer used (when the reference count goes to zero).

__AddRef increments the RefCount property.

See Also