PgDAC

TDAParams.FindParam Method

Searches for a parameter with the specified name.

Class

TDAParams

Syntax

function FindParam(const Value: string): TDAParam;

Parameters
Value
Holds the parameter name.
Return Value
a parameter, if a match was found. Nil otherwise.

Remarks

Use the FindParam method to find a parameter with the name passed in Value. If a match is found, FindParam returns the parameter. Otherwise, it returns nil. Use this method rather than a direct reference to the Items property to avoid depending on the order of the entries.

To locate more than one parameter at a time by name, use the GetParamList method instead. To get only the value of a named parameter, use the ParamValues property.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback