IndexOf is an Integer function that returns the integer position of the directory entry specified in AItem in the
Items for the collection. IndexOf will return a value in the range 0 to Count - 1, or -1 when
Items does not contain a directory entry item that matches AItem.