RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDOMNode.lastChild Property

Represents the last child node of this node.

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

Use lastChild to obtain the IDOMNode interface of this node's last child node. If there are no child nodes, the value of lastChild is nil (Delphi) or NULL (C++). 

The lastChild property is useful when 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!