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


IRasterBandCollection.Remove Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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