The NearestNeighbor class encapsulates all of the criteria for defining a nearest neighbor filter.
System.Object
ArcGIS.Core.Data.UtilityNetwork.Trace.NearestNeighbor
Target Platforms: Windows 11, Windows 10, Windows 8.1
ArcGIS Pro version: 2.1 or higher.