Navigation: Code Documentation > RSCommon > GLists > Classes > TGCustomLinkedList > Methods
TGCustomLinkedList.IndexOfItem(TObject) Method
Returns the position of the node (0 = head) whose Item property equals the input object.
If the item cannot be found, the method returns -1.
Namespace: GLists
Delphi
public function IndexOfItem( AnObject: TObject ): Integer;
Parameters
AnObject
Type: TObject
Type: Integer
•GLists.TSQNode.Item
•GLists.TGCustomLinkedList.FindItem(TObject)
•TGCustomLinkedList
•GLists