Xml.xmldom.IDOMNode.firstChild

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

property firstChild: IDOMNode read get_firstChild;

C++

__property _di_IDOMNode firstChild = {read=_scw_get_firstChild};

Properties

Type Visibility Source Unit Parent
property public
Xml.Xmldom.pas
Xml.xmldom.hpp
Xml.xmldom IDOMNode

Description

Represents the first child node of this node.

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.

See Also