Show / Hide Table of Contents

Method GetRoute

GetRoute(int, int)

Retrieves a route between an incident and a facility.

Declaration
public ClosestFacilityRoute? GetRoute(int facilityIndex, int incidentIndex)
Parameters
Type Name Description
int facilityIndex

The index of the desired facility in the facilities collection.

int incidentIndex

The index of the desired incident in the incidents collection.

Returns
Type Description
ClosestFacilityRoute

The ClosestFacilityRoute

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.