A list model storing a list of UtilityTraceResult. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.6 |
Properties
- count : int
Signals
Methods
- bool contains(UtilityTraceResult result)
- error 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
Signal Documentation
Emitted when the count property of the model changes.
Note: The corresponding handler is onCountChanged
.
Method Documentation
bool contains(UtilityTraceResult result) |
Returns true
if the list model contains the specified result.
Receives a callback function to execute for each UtilityTraceResult in the model.
The callback function can take 0 to 3 optional arguments, in order:
- element Current utility trace result.
- index Current index in array.
- array Reference to UtilityTraceResultListModel.
Returns undefined if no error occurred, and an error message otherwise.
const error = UtilityTraceResultListModel.forEach(function(element, index, array) { ... }); if (error) { console.error(error.message); }
UtilityTraceResult get(int index) |
Returns the UtilityTraceResult at the specified index.
int indexOf(UtilityTraceResult result) |
Returns the index of a specific preplanned result (result) from the list model.