ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterDataset Class / GetBandKeyProperty Method
Index of a band in this raster dataset.
Name of the key property.

In This Topic
    GetBandKeyProperty Method (RasterDataset)
    In This Topic
    Gets a key property for a band in this raster dataset based on band index and key property name. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetBandKeyProperty( _
       ByVal bandIndex As Integer, _
       ByVal name As String _
    ) As Object
    public object GetBandKeyProperty( 
       int bandIndex,
       string name
    )

    Parameters

    bandIndex
    Index of a band in this raster dataset.
    name
    Name of the key property.

    Return Value

    An object representing the value of the key property for a band in this raster dataset.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also