Show / Hide Table of Contents

Method GetRankedFacilityIndexes

GetRankedFacilityIndexes(Int32)

Retrieves an ordered list of facilities for a given incident.

Declaration
public IReadOnlyList<int> GetRankedFacilityIndexes(int incidentIndex)
Parameters
Type Name Description
Int32 incidentIndex

The index of the desired incident in the incidents collection

Returns
Type Description
System.Collections.Generic.IReadOnlyList<Int32>

Ranked Facility Indexes.

Remarks

Facilities and Incidents are identified by indexes based on the facilities and incidents collections. The first element in the list is the closest facility, the second element is the next closest, etc. Multiple properties can effect the number of facilities returned for each incident.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.