RAD Studio VCL Reference
TDataSet.PSGetParams Method

Returns the current parameter values of the dataset.

function PSGetParams: TParams; virtual;
virtual __fastcall TParams PSGetParams();

The provider component calls PSGetParams to implement its GetParams method.  

PSGetParams returns a TParams object that describes the current values of all parameters of the dataset. If the dataset does not have any parameters, PSGetParams returns nil (Delphi) or NULL (C++).

Note: The PSGetParams method should not create a new instance of TParams for the return value. The provider that calls PSGetParams does not free the returned value.


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!