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


IRasterCollection.Get Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCollection.Get Method

Gets the raster at a given index position.

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

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

Product Availability

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

See Also

IRasterCollection Interface