Return a parameter by name.
Source position: db.pas line 1546
public function TParams.ParamByName( |
const Value: string |
):TParam; |
Value |
|
Name to search for. |
TParam instance with Name equal to Value.
ParamByName searches the collection for the TParam instance with property Name equal to Value. It will return the last instance with the given name, and will only return one instance. If no match is found, an exception is raised.
Remark: | A TParams collection can have 2 TParam instances with the same name: no checking for duplicates is done. |
|
Name of the parameter. |
|
|
Find a parameter with given name. |
|
|
Fetch a list of TParam instances. |