RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IAdapterRequestParams.ValueOfParam Method

Returns the value associated with a specified name.

Pascal
function ValueOfParam(const AName: string): string;
C++
__fastcall AnsiString ValueOfParam(const AnsiString AName);

ValueOfParam returns the value part of the name/value pair with the specified name. Use ValueOfParam to access a value by name rather than by index. 

AName is the name part of the name/value pair. 

ValueOfParam returns the associated value string. If the current HTTP request does not include a parameter with the specified name, ValueOfParam returns an empty string. 

 

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