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


IRasterBandCollection.Bands Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterBandCollection.Bands Property

All the bands in the collection as an interface to the RasterBands enumerator object.

[Visual Basic .NET]
Public ReadOnly Property Bands As IEnumRasterBand
[C#]
public IEnumRasterBand Bands {get;}
[C++]
HRESULT get_Bands(
  IEnumRasterBand** Bands
);
[C++]

Parameters Bands [out, retval]
Bands is a parameter of type IEnumRasterBand

Product Availability

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

See Also

IRasterBandCollection Interface