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.Set Method (ArcObjects .NET 10.5 SDK) |
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