Data.Cloud.CloudAPI.PopulateKeyValuePairs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PopulateKeyValuePairs(Parent: IXMLNode; PairList: TStrings; const PairNodeName: string; const KeyNodeName: string; const ValueNodeName: string);

C++

extern DELPHI_PACKAGE void __fastcall PopulateKeyValuePairs _DEPRECATED_ATTRIBUTE0 (Xml::Xmlintf::_di_IXMLNode Parent, System::Classes::TStrings* PairList, const System::UnicodeString PairNodeName, const System::UnicodeString KeyNodeName = L"Name", const System::UnicodeString ValueNodeName = L"Value");

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI Data.Cloud.CloudAPI

Description

Warning: PopulateKeyValuePairs is deprecated.

Populates the provided string list with key/value pairs.

Each child node of the given node is checked. If its name is the same as the specified value of PairNodeName, then this child node is checked to see whether it has a text node name matching the value of KeyNodeName, as well as ValueNodeName. The values of these two nodes are used as a key/value pair, which is populated into the given list.

The following table shows the significance of the parameters for both the overloaded methods:

Parameter Description

Parent

The node to iterate over

PairList

The list to populate with key/value pairs

PairNodeName

The name of the child node type to get a single pair from

KeyNodeName

The name of the node containing the key information of a pair

ValueNodeName

The name of the node containing the value information of a pair

See Also