GetBandCount Method (Raster)
Gets the number of bands in this raster.
This method must be called on the MCT. Use QueuedTask.Run.
public int GetBandCount()
Public Function GetBandCount() As Integer
Return Value
An integer representing the number of bands in this raster.
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.