TCodeMemberMethod.IndexOfParameter Method
Returns the index of a parameter by name.
Syntax
Unit: Bcl.Code.MetaClasses
function TCodeMemberMethod.IndexOfParameter(const AName: string): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The parameter name to find (case-insensitive). |
Returns
The zero-based index of the parameter, or -1 if not found.