FeatureIterator QML Type

  • Esri.ArcGISRuntime
  • FeatureIterator
  • An iterator for a collection of features. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    Object

    Properties

    Methods

    Detailed Description

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

    See also FeatureLayer and FeatureQueryResult.

    Property Documentation

    [read-only] features : list<Feature>

    Returns all features in the iterator at once as a list of Feature objects (read-only).

    All features in this iterator are returned in the list, regardless of whether any features were already accessed through this iterator. After this call, this FeatureIterator will point past the last feature in the iterator. To start over reading features from the beginning of this iterator, call reset.


    [read-only] hasNext : bool

    Returns whether there is another feature available from this iterator (read-only).


    Method Documentation

    Feature next()

    Returns the next feature.


    void reset()

    Points the iterator back to the front.


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