FireDAC.Phys.TFDPhysConnection._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 public
FireDAC.Phys.pas
FireDAC.Phys.hpp
FireDAC.Phys TFDPhysConnection

Description

Implements the IInterface_AddRef method.

FireDAC.Phys.TFDPhysConnection. AddRef inherits from System.TInterfacedObject._AddRef. All content below this line refers to System.TInterfacedObject._AddRef.

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.

See Also