Xml.XMLDoc.TXMLNodeList.InternalInsert
Delphi
function InternalInsert(Index: Integer; const Node: IXMLNode): Integer;
C++
int __fastcall InternalInsert(int Index, const Xml::Xmlintf::_di_IXMLNode Node);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNodeList |
説明
Insert メソッドの基底の実装を提供します。
Insert メソッドは,InternalInsert メソッドを呼び出して,Index で指定された位置にノードを追加します。
Index はノードを挿入する位置を指定し,0 は最初の位置,1 は 2 番めの位置です。Index が –1 の場合,ノードはリストの最後に追加されます。
Node は,リストに追加するノードです。
InternalInsert は,挿入されたノードのインデックスを返します。これは,Index が –1 ではない場合には Index パラメータと同じです。