UtilityTraceResultListModel QML Type

UtilityTraceResult."> UtilityTraceResultListModel QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • UtilityTraceResultListModel
  • A list model storing a list of UtilityTraceResult. More...

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




    • 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

    [read-only] count : int

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

    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.

    error 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.

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

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.