Show / Hide Table of Contents

Class ClosestFacilityResult

A class that contains the output results from a SolveClosestFacilityAsync(ClosestFacilityParameters) operation.

Inheritance
System.Object
ClosestFacilityResult
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClosestFacilityResult
Remarks

The result is a collection of computed routes between incidents and facilities, barriers used in the computation, and messages generated during the process.

Properties

Name Description
DirectionsLanguage

Gets the language used to generate driving directions text instructions (i.e. en, fr, pt-BR, zh-Hans, etc.)

Facilities

Gets the list of Facilities used in the analysis.

Incidents

Gets the list of Incidents used in the analysis.

Messages

Gets the list of informational messages that were generated while computing results.

PointBarriers

Gets the list of point barriers used in the route computation.

PolygonBarriers

Gets the list of polygon barriers used in the route computation.

PolylineBarriers

Gets the list of the polyline barriers used in the route computation.

Methods

Name Description
GetFacilityCosts(String, Int32)

Retrieves the cost for the specified facility attribute.

GetRankedFacilityIndexes(Int32)

Retrieves an ordered list of facilities for a given incident.

GetRoute(Int32, Int32)

Retrieves a route between an incident and a facility.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.