ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / GetKeyProperty Method
Name of the key property.

In This Topic
    GetKeyProperty Method (Raster)
    In This Topic
    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

    ArcGIS Pro version: 3.0 or higher.
    See Also