[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Create and add a new parameter to the collection
Source position: db.pas line 1273
public function TParams.CreateParam( |
FldType: TFieldType; |
const ParamName: string; |
ParamType: TParamType |
):TParam; |
FldType |
|
Value for the DataType property of the new instance. |
ParamName |
|
Value for the Name property of the new instance. |
ParamType |
|
Value for the ParamType property of the new instance. |
Newly added TParam instance.
CreateParam creates a new TParam instance with datatype equal to fldType, Name equal to ParamName and sets its ParamType property to ParamType. The parameter is then added to the collection.
|
Parameter description class |
|
|
Name of the parameter |
|
|
Data type of the parameter |
|
|
Type of parameter |