ArcGIS Pro 2.8 API Reference Guide
NearestNeighbor Class
Members 

ArcGIS.Core.Data.UtilityNetwork.Trace Namespace : NearestNeighbor Class
The NearestNeighbor class encapsulates all of the criteria for defining a nearest neighbor filter.
Object Model
NearestNeighbor ClassNetworkAttribute Class
Syntax
public sealed class NearestNeighbor 
Public NotInheritable Class NearestNeighbor 
Remarks
Nearest neighbor filters allow you to return the next N rows, where the "distance" to those rows is calculated by a network attribute.
Inheritance Hierarchy

System.Object
   ArcGIS.Core.Data.UtilityNetwork.Trace.NearestNeighbor

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NearestNeighbor Members
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace