[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNodeEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an enumerator for DOM Nodes.

Declaration

Source position: laz2_dom.pas line 200

type TDOMNodeEnumerator = class

public

  constructor Create();

  

Constructor for the class instance.

  function MoveNext;

  

Gets the First child or the next Sibling as the Current value for the enumerator.

  property Current: TDOMNode; [r]

  

Current DOM node for the enumerator.

end;

Inheritance

TDOMNodeEnumerator

  

Implements an enumerator for DOM Nodes.

|

TObject

Description

TDOMNodeEnumerator is a class used to implement an enumerator for DOM Nodes. The enumerator is created for a specified DOM node, and provides access to the top-level children for the DOM node. It does not descend any lower than the first child node and its sibling nodes in the DOM sub-tree.

Use the MoveNext method to select the next child node in the enumerator. Use the Current property to access the current DOM node for the enumerator.

See also

TDOMNode.FirstChild

  

Gets the first child node for the current node.

TDOMNode.NextSibling

  

Next DOM Node at the same level in the DOM tree.


Version 3.2 Generated 2024-02-25 Home