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

In This Topic
    GetKeyProperty Method (RasterDataset)
    In This Topic
    Gets a key property of this raster dataset 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 a key property of this raster dataset.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also