ArcGIS Enterprise SDK
IRasterBandCollection.Count Property
ArcGIS Developer Help

IRasterBandCollection.Count Property

The number of bands in the collection.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}

See Also

IRasterBandCollection Interface