ArcGIS Pro 2.8 API Reference Guide
GetSpatialReference Method (RasterDatasetDefinition)

ArcGIS.Core.Data.Raster Namespace > RasterDatasetDefinition Class : GetSpatialReference Method
Gets the ArcGIS.Core.Geometry.SpatialReference of the raster dataset. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public SpatialReference GetSpatialReference()
Public Function GetSpatialReference() As SpatialReference

Return Value

The ArcGIS.Core.Geometry.SpatialReference of the raster dataset.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RasterDatasetDefinition Class
RasterDatasetDefinition Members