virtual unsigned int FdoIScrollableFeatureReader::IndexOf ( FdoPropertyValueCollection key  )  [pure virtual]

Given a key of a feature, IndexOf will return the one based index or the record number of the feature within the returned query result.

Remarks:
If the record is not found, then zero is retuned. This is the mirror function of the ReadAtIndex function. This method does not affect the reader position. ReadAtIndex need to be called to move the reader to the returned index.
Parameters:
key The key that identifies a record.
Returns:
Returns true if a record is found or false otherwise.