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


IRasterCollection.Find Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCollection Interface > IRasterCollection.Find Method
ArcGIS Developer Help

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
);
[C++]
Parameters
pRaster [in]

pRaster is a parameter of type IRaster*

Product Availability

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

See Also

IRasterCollection Interface