Sign in Join
FPDoc Onlineexperiment

TDOMNode.GetRevision function

Member of TDOMNodeprotectedIn unit Laz2_DOM

Gets the revision number for the node.

Declaration

pascal
function GetRevision: Integer

Function result

Revision number for the node.

Description

The value for the property is retrieved from the revision number in the OwnerDocument for the node instance.

GetRevision is called from methods in TDOMNodeList which compare the revision numbers for a given node and the node list where it is stored. When the revision numbers differ, the node list is refreshed by calling the BuildList method in the TDOMNodeList instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.