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


IRasterBandCollection.Remove Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBandCollection Interface > IRasterBandCollection.Remove Method
ArcGIS Developer Help

IRasterBandCollection.Remove Method

Removes an element from the collection.

[Visual Basic .NET]
Public Sub Remove ( _
    ByVal index As Integer _
)
[C#]
public void Remove (
    int index
);
[C++]
HRESULT Remove(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

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

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

See Also

IRasterBandCollection Interface