Datasnap.DSSession.TDSSession.PutObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSSession

Delphi

function PutObject(Key: string; Value: TObject): Boolean;

C++

bool __fastcall PutObject(System::UnicodeString Key, System::TObject* Value);

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).

See Also