function IndexOf(Item: TScStorageItem): Integer;
Description
Call IndexOf to get the index for an item in the Items list. Specify the item as the Item parameter.
The first item in the array has index 0, the second key has index 1, and so on. If an item is not in the Items array, IndexOf returns -1.