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


IGPRasterLayer.BandCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPRasterLayer.BandCount Property

The number of bands in the raster layer object.

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

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

Product Availability

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

See Also

IGPRasterLayer Interface