Datasnap.DSSession.TDSSessionData.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: TDSSessionData

Delphi

function PutObject(const AKey: string; AValue: TObject): Boolean; virtual; abstract;

C++

virtual bool __fastcall PutObject(const System::UnicodeString AKey, System::TObject* AValue) = 0 ;

Description

Note: This is an abstract method that child subclasses of TDSSessionData implement.

Stores the object with the given AKey in this data session.

The PutObject method stores the given object with the given AKey in this data session.

PutObject returns True if the object is properly stored with the AKey, False otherwise.

PutObject is implemented in child classes:

See Also