This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCollection Interface > IRasterCollection.Find Method (ArcObjects .NET 10.5 SDK) |
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