System::Int32 OSGeo::FDO::Raster::DataValueCollection::IndexOf ( DataValue value  ) 

Determines the index of a specific DataValue object.

Parameters:
value Input the DataValue object to locate in the collection.
Returns:
The index of value if found in the collection; otherwise, -1.