Returns the index of the first string in the list associated with a given object contained in the Data property. Call IndexOfData to locate the first string in the list associated with the object AObject. Specify the object you want to locate as the value of the AObject parameter. IndexOfData returns the 0-based index of the string and object. If the object is not associated with any of the strings, IndexOfData returns -1.