Datasnap.DSSession.TDSSession.RemoveObject

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 RemoveObject(Key: string; InstanceOwner: Boolean = True): TObject;

C++

System::TObject* __fastcall RemoveObject(System::UnicodeString Key, bool InstanceOwner = true);

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.

See Also