RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeList.Insert Method

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

Pascal
procedure Insert(Index: Integer; const Node: IXMLNode);
C++
__fastcall Insert(int Index, const IXMLNode Node);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!