TDOMNode.HasChildNodes function
Indicates if the DOM node has child nodes.
Declaration
function HasChildNodes: Boolean; virtualFunction result
True when the size of the ChildNodes list is not zero.Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
