[Overview][Classes][Index] Reference for unit 'LazLinkedList' (#lazutils)

TLinkList.Delete

Removes the specified list item from the doubly linked list.

Declaration

Source position: lazlinkedlist.pas line 49

public procedure TLinkList.Delete(

  AnItem: TLinkListItem

);

Arguments

AnItem

  

Item removed from the traversal nodes in the list.

Description

Delete is a procedure used to remove the specified list item from the traversal nodes in the doubly linked list. No actions are performed in the method when AnItem is unassigned (contains Nil).

Delete calls Unbind to update the traversal node for the affected list items. The Prior and Next nodes in AnItem are set to Nil to remove the item from the node order. Delete decrements the value in the Count property.

See also

TLinkList.Count

  

Total number of items used in the doubly linked list.

TLinkListItem.Prior

  

Contains a reference to the previous item in the doubly linked list.

TLinkListItem.Next

  

Contains a reference to the next item in the doubly linked list.


Version 4.0 Generated 2025-05-03 Home