Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityTraceResultListModel QML Type

A list model storing a list of UtilityTraceResult. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.6




  • bool contains(UtilityTraceResult result)
  • void forEach(callback )
  • UtilityTraceResult get(int index)
  • int indexOf(UtilityTraceResult result)

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

See also UtilityNetwork.

Property Documentation

count : int

Returns the number of objects in the model (read-only).

Signal Documentation


Emitted when the count property of the model changes.

Method Documentation

bool contains(UtilityTraceResult result)

Whether the list model contains the specified result.

void forEach(callback )

Receives a callback function to execute for each UtilityTraceResult in the model.

The callback function can take 0 to 3 optional arguments, in order:

Returns undefined if no error occurred, and an error message otherwise.

var error = UtilityTraceResultListModel.forEach(function(element, index, array) {
if (error) {

UtilityTraceResult get(int index) const

Returns the UtilityTraceResult at the specified index.

int indexOf(UtilityTraceResult result)

Returns the index of a specific preplanned result (result) from the list model.

Feedback on this topic?