ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / ProximityResult Class / Distance Property

Distance Property (ProximityResult)
Gets the distance between the input query point and the nearest point found.
Syntax
public double Distance {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also