Data.DB.TParamObject.GetInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetInstance(ReleaseOwnership: Boolean = True): TObject;

C++

System::TObject* __fastcall GetInstance(bool ReleaseOwnership = true);

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TParamObject

Description

Returns the TObject instance stored by the TParamObject instance.

Call GetInstance to obtain the TObject instance stored by the TParamObject instance.

If the given ReleaseOwnership parameter is set to True, then the TParamObject instance releases its ownership of the stored TObject.

The initial ownership of the stored object is set through the AInstanceOwner parameter, in a call to the Create method.

See Also