This document is archived and information here might be outdated. Recommended version.
Number of bands of the raster dataset.
[Visual Basic .NET] Public Property Bands As Integer
[C#] public int Bands {get; set;}