ArcGIS Pro 2.9 API Reference Guide
GetKeyProperty Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : GetKeyProperty Method
Name of the key property.
Gets the key property of the raster based on the key property name. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public object GetKeyProperty( 
   string name
)
Public Function GetKeyProperty( _
   ByVal name As String _
) As Object

Parameters

name
Name of the key property.

Return Value

An object representing the value of the key property.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members