RAD Studio VCL Reference
IAdapterRequestParams.IndexOfParam Method

Returns the index of a specified name/value pair given its name.

function IndexOfParam(const AName: string): Integer;
__fastcall int IndexOfParam(const AnsiString AName);

IndexOfParam returns the index of the value associated with a specified name. This method performs the reverse lookup from reading the ParamNames property. 

AName is the name of the name/value pair to locate. 

IndexOfParam returns the index for the specified name/value pair. This index identifies the position of the pair in the ParamNames and ParamValues property arrays. If the current HTTP request does not include a name/value pair with the specified name, IndexOfParam returns –1. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!