Xml.XMLDoc.TXMLNodeList.InternalInsert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function InternalInsert(Index: Integer; const Node: IXMLNode): Integer;

C++

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

Properties

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

Description

Provides the underlying implementation of the Insert method

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.

See Also