Datasnap.DBClient.UnpackParams
Delphi
procedure UnpackParams(const Source: OleVariant; Dest: TParams);
C++
extern DELPHI_PACKAGE void __fastcall UnpackParams(const System::OleVariant &Source, Data::Db::TParams* Dest);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | Datasnap.DBClient |
Description
Converts an OleVariant that represents a set of parameters into a TParams object.
Client datasets use UnpackParams update their Params property with parameter values received over an IAppServer interface. Use UnpackParams to decode parameter values when using the IAppServer interface directly rather than using the methods of TClientDataSet.
The Source parameter is an OleVariant that represents a set of parameter values. Parameter values can be encoded into this format using the PackageParams function.
The Dest parameter is a TParams object (usually the Params property of a destination component) that receives the parameter values.