Data.DB.TParamObject.GetInstance
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.