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


IRasterCollection.Set 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.Set Method
ArcGIS Developer Help

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