System.Net.URLClient.TURI.AddParameter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddParameter(const AName, AValue: string); overload;
procedure AddParameter(const AParameter: TURIParameter); overload; inline;

C++

void __fastcall AddParameter(const System::UnicodeString AName, const System::UnicodeString AValue)/* overload */;
void __fastcall AddParameter(const TNameValuePair &AParameter)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Net.URLClient.pas
System.Net.URLClient.hpp
System.Net.URLClient TURI

Description

Adds a parameter to the array of TURI parameters.

You can specify the parameter that you want to add to the array of TURI parameters, in one of the following ways:

  • As an instance of TURIParameter.
  • As a pair of string parameters that provide the name and the value of the parameter.
Note: AddParameter does not check whether a parameter with the same name already exists. It always adds the provided parameter to the end of the array of TURI parameters.

See Also