RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDOMNode.nextSibling Property

Represents the next child of this node's parent.

Pascal
property nextSibling: IDOMNode;
C++
__property IDOMNode nextSibling;

Use nextSibling to obtain the IDOMNode interface of the node that immediately follows this node. If the node's parent does not have any more child nodes after this one, the value of nextSibling is nil (Delphi) or NULL (C++). 

The nextSibling property is useful for iterating through all the children of a node. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!