RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeList.InternalInsert Method

Provides the underlying implementation of the Insert method

Pascal
function InternalInsert(Index: Integer; const Node: IXMLNode): Integer;
C++
__fastcall int InternalInsert(int Index, const IXMLNode Node);

The Insert method calls InternalInsert 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 is –1, the node is added to the end of the list. 

Node is the node to add to the list. 

InternalInsert returns the index of the node after it is inserted. This is the same as the Index parameter when Index is not –1. 

 

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