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


IGPRasterLayer.BandCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPRasterLayer Interface > IGPRasterLayer.BandCount Property
ArcGIS Developer Help

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(
  System.Int32* 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