RAD Studio VCL Reference
|
Stores an object that can be freed when the data context is finished.
procedure AddObjectToDestroy(Obj: TObject);
__fastcall AddObjectToDestroy(TObject * Obj);
Call AddObjectToDestroy to add an object instance to the list of temporary objects that TDataContext maintains. When the TDataContext instance is freed, it frees all the objects in this list of temporary objects.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|