TDOMNode.InsertBefore function
Inserts a new child node immediately before the reference child node.
Declaration
function InsertBefore(NewChild: TDOMNode; RefChild: TDOMNode): TDOMNode
; virtualArguments
NewChild | New DOM node to insert into the child nodes. |
RefChild | Reference node where the new node is inserted. |
Function result
DOM node inserted in the method.
Description
InsertBefore is a
TDOMNode function used to insert a
new child node immediately before the referenced child node. In TDOMNode,
InsertBefore always raises an
EDOMHierarchyRequest exception. The
method must be re-implemented in descendent classes which support child nodes
in the DOM Node specialization.
Errors
Raises an
EDOMHierarchyRequest exception; must be re-implemented
in descendent classes.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
