ArcObjects Library Reference (DataSourcesRaster)  

IRasterInfo.BandCount Property

The number of bands in the Raster.

[Visual Basic .NET]
Public Property BandCount As Integer
[C#]
public int BandCount {get; set;}
[C++]
HRESULT get_BandCount(
  long* pCount
);
[C++]
HRESULT put_BandCount(
  long pCount
);
[C++]

Parameters

pCount [out, retval]   pCount is a parameter of type long pCount [in]   pCount is a parameter of type long

Product Availability

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

See Also

IRasterInfo Interface