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

Delphi

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

C++

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

Description

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

Datasnap.DSSession.TDSSessionDictionaryData.PutObject inherits from Datasnap.DSSession.TDSSessionData.PutObject. All content below this line refers to Datasnap.DSSession.TDSSessionData.PutObject.

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