Soap.InvokeRegistry.TInvokableClass._AddRef
Delphi
function _AddRef: Integer; stdcall;
C++
HIDESBASE int __stdcall _AddRef(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | TInvokableClass |
Description
Implements the IInterface_AddRef method. {{#multireplace:Soap.InvokeRegistry.TInvokableClass. AddRef|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.TInterfacedObject._AddRef|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.TInterfacedObject._AddRef|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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 interfaced object's interface pointer. When the other object finished working with the interface, it calls _Release through the same interface. This allows the interfaced object to free itself when it is no longer used (when the reference count becomes zero).
_AddRef increments the RefCount property.