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


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

IRasterCollection.Set Method

Sets the raster at a given index position.

[Visual Basic .NET]
Public Sub Set ( _
    ByVal index As Integer, _
    ByVal pRaster As IRaster _
)
[C#]
public void Set (
    int index,
    IRaster pRaster
);
[C++]
HRESULT Set(
  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