ArcGIS Enterprise SDK
IRasterBandCollection.Add Method
ArcGIS Developer Help

IRasterBandCollection.Add Method

Adds a RasterBand to the band collection.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Element As IRasterBand, _
    ByVal index As Integer _
public void Add (
    IRasterBand Element,
    int index


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

See Also

IRasterBandCollection Interface