Indicates if the DOM node has child nodes.
Source position: laz2_dom.pas line 283
public function TDOMNode.HasChildNodes: Boolean; virtual; |
True when the size of the ChildNodes list is not zero.
HasChildNodes is a Boolean function which indicates if the DOM node has child nodes. In general, the return value is True when a DOM node has been assigned to the FirstChild property.
HasChildNodes always returns False in TDOMNode. TDOMNode does not allocate storage for child nodes. The method must be overridden in a descendent class which allocates storage for child nodes in the DOM node specialization.
| Version 4.4 | Generated 2025-11-08 | Home |