This document is archived and information here might be outdated. Recommended version. |
Adds a RasterBand to the band collection.
[Visual Basic .NET] Public Sub Add ( _ ByVal Element As IRasterBand, _ ByVal index As Integer _ )
[C#] public void Add ( IRasterBand Element, int index );
[C++]
HRESULT Add(
IRasterBand* Element,
long index
);
[C++]
Parameters Element [in]
Element is a parameter of type IRasterBand* index [in]
index is a parameter of type long
This method is only applicable to work with a Raster, not with a RasterDataset.