[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the number of child nodes for the DOM node instance.
Source position: laz2_dom.pas line 332
public function TDOMNode_WithChildren.GetChildCount: SizeInt; override; |
Number of child nodes in the DOM node.
GetChildCount is an overridden SizeInt function in TDOMNode_WithChildren. It is used to get the number of child nodes for the class instance. No actions are performed in the method if FirstChild has not been assigned, and the return value is set to 0.
If a DOMNodeList has been assigned to ChildNodes, its Count property is used as the return value. If ChildNodes has not been assigned, the child nodes are visited (starting at FirstChild and proceeding to its NextSibling) to count the number of child nodes.
|
Provides access to the list of Child nodes for the current node. |
|
|
Gets the first child node for the current node. |
Version 3.2 | Generated 2024-02-25 | Home |