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