ArcObjects Library Reference  (Carto)    

IRasterLayer.BandCount Property

Number of bands in the layer.

[Visual Basic 6.0]
Property BandCount As Long
[Visual Basic .NET]
Public ReadOnly Property BandCount As Integer
public int BandCount {get;}
public int getBandCount()
HRESULT get_BandCount(
  long* BandCount


BandCount [out, retval]

  BandCount is a parameter of type long

Product Availability

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

See Also

IRasterLayer Interface