RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeCollection.Delete Method

Removes one of the repeating child nodes from this node.

Pascal
procedure Delete(Index: Integer);
C++
__fastcall Delete(int Index);

Use the TXMLNodeCollection object's IXMLNodeCollection interface to call the protected Delete method. Delete removes a specified child node from this node. 

Index identifies the child to remove. It is the index of the child in the list of repeating child nodes (The List property, not the ChildNodes property). The index 0 represents the first repetition, 1 represents the second repetition, and so on. 

 

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