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


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

IRasterCollection.Insert Method

Inserts a raster at a given index.

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

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

Product Availability

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

See Also

IRasterCollection Interface