VirtualDAC

TDAParams.ParamByName Method

Searches for a parameter with the specified name.

Class

TDAParams

Syntax

function ParamByName(const Value: string): TDAParam;

Parameters
Value
Holds the parameter name.
Return Value
a parameter, if the match was found. otherwise an exception is raised.

Remarks

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

To locate a parameter by name without raising an exception if the parameter is not found, use the FindParam method.

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