Datasnap.DSHTTP.TDSCacheResponseHandler.GetComplexParams

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Unit: Datasnap.DSHTTP
Parent: TDSCacheResponseHandler

Delphi

function GetComplexParams(Command: TDBXCommand; out Index: Integer;
AddIfNotFound: Boolean = True): TDSCommandComplexParams;

C++

Datasnap::Dshttpcommon::TDSCommandComplexParams* __fastcall GetComplexParams(Data::Dbxcommon::TDBXCommand* Command, /* out */ int &Index, bool AddIfNotFound = true);

Description

Takes in a command and creates a new TDSCommandComplexParams instance from it if - for the given command - one isn't found already in GetCacheObject.CacheCommands.

GetComplexParams takes in a command and creates a new TDSCommandComplexParams instance from it if - for the given command - one isn't found already in GetCacheObject.CacheCommands.

Command should never be nil.

See Also