REST.Client.TRESTRequestParameterList.AddObject
Delphi
procedure AddObject(AObject: TObject); overload;
procedure AddObject(AObject: TObject; WhiteList: TStrings); overload;
C++
void __fastcall AddObject(System::TObject* AObject)/* overload */;
void __fastcall AddObject(System::TObject* AObject, System::Classes::TStrings* WhiteList)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequestParameterList |
Description
Calls the AddItem method.
There are two overloaded Add methods, with their parameters described below.
(1) The overloaded Add method with the following parameters calls the AddItem method for all public, published &readable properties of the object:
AObject
: The object with properties to add as parameters.
(2) The overloaded Add method with the following parameters calls the AddItem method for all public, published &readable properties specified in the White list:
AObject
: The object with properties to add as parameters.WhiteList
: Contains the names of the properties to include in the White list.