Data.Win.ADODB.TParameters.GetParamList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetParamList(List: TList; const ParamNames: WideString);

C++

void __fastcall GetParamList(System::Classes::TList* List, const System::WideString ParamNames);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TParameters

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.

See Also