Datasnap.DSSession.TDSSession.RemoveObject
Delphi
function RemoveObject(Key: string; InstanceOwner: Boolean = True): TObject;
C++
System::TObject* __fastcall RemoveObject(System::UnicodeString Key, bool InstanceOwner = true);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp | Datasnap.DSSession | TDSSession | 
Description
Removes an object that matches the given Key from this session.
The RemoveObject method removes an object that matches the given Key from this session. RemoveObject returns the removed object.