OSGeo FDO Provider for SHP API Reference

OSGeo FDO Provider for SHP API

API Reference OSGeo FDO Provider for SHP
virtual unsigned int ShpIScrollableFeatureReader::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. If the record is not found, then zero is retuned. This is the mirror function of the GetAtIndex function. This method does not affect the reader position. GetAtIndex 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.


Comments?