IRasterBandCollection.Add Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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
  IRasterBand* Element,
  long index

Parameters Element [in]
Element is a parameter of type IRasterBand* index [in]
index is a parameter of type long

Product Availability

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


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

See Also

IRasterBandCollection Interface