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


IRasterBandCollection.Bands Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBandCollection Interface > IRasterBandCollection.Bands Property
ArcGIS Developer Help

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