Data.Win.ADODB.TParameters.GetParamList
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Data.Win.ADODB.pas Data.Win.ADODB.hpp
| |
Unit: Data.Win.ADODB | |
Parent: TParameters |
Delphi
procedure GetParamList(List: TList; const ParamNames: WideString);
C++
void __fastcall GetParamList(System::Classes::TList* List, const System::WideString ParamNames);
Description
Fills a TList object with names of available parameters.
Use GetParamList to obtain a subset of the parameters in the TParameters collection that have been identified by name.
ParamNames is a string giving the names of all field parameters of interest. Multiple parameter names are separated by semicolons (;).
List is the TList object into which the parameters names are placed. GetParamList adds the field parameters to List in the order they appear in ParamNames. If ParamNames includes a name that does not match any of the field parameters in Items, an exception is raised.
Note: GetParamList operates with the names of parameters as they appear in an SQL statement or stored procedure, not the Name property of TParameter objects. The two ways of referring to a parameter should not be confused.