Xml.XMLDoc.TXMLNodeList.Insert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Insert(Index: Integer; const Node: IXMLNode);

C++

void __fastcall Insert(int Index, const Xml::Xmlintf::_di_IXMLNode Node);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNodeList

Description

Inserts a new node into a specified position in the list.

Call Insert to add a node at the position specified by Index.

Index specifies where to insert the node, where 0 is the first position, 1 is second position, and so on. If Index does not specify a valid index, Insert raises an exception.

Node is the node to add to the list.

See Also