TXDataAction.IndexOfParameter Method
Returns the position of a parameter in the parameter list, by its name.
Syntax
Unit: XData.Model.Classes
function TXDataAction.IndexOfParameter(const AName: string): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The name of the parameter. The comparison is case-insensitive. |
Returns
The zero-based index of the parameter in Parameters, or -1 if it is not found.