Navigation: Code Documentation > RSCommon > GLists > Classes > TGCustomLinkedList > Properties
TGCustomLinkedList.Item[Integer] Property
Returns the Item property for the node at the specified position in the list.
Namespace: GLists
Delphi
protected property Item[ Index: Integer ]: TObject read GetItem write SetItem;
Parameters
Index
Type: Integer
Type: TObject
To iterate through the list:
List.Reset; // go to head of list while not List.EndOfList do begin List.Item := MyObject; List.Next; end;
•GLists.TGCustomLinkedList.Head
•GLists.TGCustomLinkedList.Node[Integer]
•TGCustomLinkedList
•GLists