This document is archived and information here might be outdated.  Recommended version.


IRasterCollection.Find Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCollection.Find Method

Finds a given raster and returns its index position.

[Visual Basic .NET]
Public Function Find ( _
    ByVal pRaster As IRaster _
) As Integer
[C#]
public int Find (
    IRaster pRaster
);
[C++]
HRESULT Find(
  IRaster* pRaster,
  long* index
);
[C++]

Parameters pRaster [in]
pRaster is a parameter of type IRaster index [out, retval] index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterCollection Interface