

Public NotInheritable Class RasterBand Inherits BasicRasterDataset Implements System.IDisposable
public sealed class RasterBand : BasicRasterDataset, System.IDisposable
{
var count = rasterDataset.GetBandCount();
RasterBand rasterBandByName = rasterDataset.GetBandByName(sBandName);
var index = rasterDataset.GetBandIndex(sBandName);
// Get a RasterBand from the raster dataset
RasterBand rasterBand = rasterDataset.GetBand(0);
// Get the RasterBandDefinition from the raster band.
RasterBandDefinition rasterBandDefinition = rasterBand.GetDefinition();
// Get the name of the raster band from the raster band.
string bandName = rasterBandDefinition.GetName();
}
System.Object
ArcGIS.Core.CoreObjectsBase
ArcGIS.Core.Data.Dataset
ArcGIS.Core.Data.Raster.BasicRasterDataset
ArcGIS.Core.Data.Raster.RasterBand
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)