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

TDOMNamedNodeMap.DeleteSorted

Deletes the DOM node at the specified position in the sorted list of nodes.

Declaration

Source position: laz2_dom.pas line 393

protected function TDOMNamedNodeMap.DeleteSorted(

  index: LongWord

):TDOMNode;

Arguments

index

  

Ordinal position for the node removed from the sorted node list.

Function result

DOM node instance deleted in the method.

Description

DeleteSorted is a TDOMNode function used to delete the node at the position specified in Index from the sorted list of nodes.

The return value contains the TDOMNode instance deleted in the method. The node is also removed from the positional list used for the Item property.

When node type indicates that the node is an Attribute node, the OwnerElement in the return value is set to Nil.

DeleteSorted is called from the InternalRemove method.

See also

TDOMNamedNodeMap.Item

  

Provides indexed access to the unsorted DOM Nodes in the container.

TDOMNamedNodeMap.InternalRemove

  

Performs actions need to remove an attribute node with the specified name.

TDOMAttr.OwnerElement

  

DOM Element that owns the DOM Attribute node.


Version 4.0 Generated 2025-05-03 Home