Datasnap.DSSession.TDSSession.PutObject
Delphi
function PutObject(Key: string; Value: TObject): Boolean;
C++
bool __fastcall PutObject(System::UnicodeString Key, System::TObject* Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSSession |
Description
Stores an object in this session with the given Key.
The PutObject method stores an object in this session with the given Key. PutObject returns False if the object cannot be inserted (this may occur if an invalid key or one that is in use was specified).