RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDOMNode.firstChild Property

Represents the first child node of this node.

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

Use firstChild to obtain the IDOMNode interface of this node's first child node. If the node does not have any children, the value of firstChild is nil (Delphi) or NULL (C++). 

The firstChild 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!