ArcGIS Pro 2.8 API Reference Guide
GetBandKeyProperty Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : GetBandKeyProperty Method
Index of a band in this raster.
Name of the key property.
Gets a key property for a band in this raster based on band index and key property name. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public object GetBandKeyProperty( 
   int bandIndex,
   string name
)
Public Function GetBandKeyProperty( _
   ByVal bandIndex As Integer, _
   ByVal name As String _
) As Object

Parameters

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

Return Value

An object representing the value of the key property.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members