com.esri.arcgis.controls
Interface IARFeatureCursor

All Superinterfaces:
Serializable
All Known Implementing Classes:
ARFeatureCursor, IARFeatureCursorProxy

public interface IARFeatureCursor
extends Serializable

Provides access to members that control the enumerated ARFeatureCursor.

Description

The IARFeatureCursor interface is a starting point for enumerating ARFeature objects. An ARFeatureCursor is returned from the IARMap::SearchARFeatures, IARGlobe::SearchARFeatures and IARLayer::SearchARFeatures methods. An ARFeatureCursor allows ARFeature objects to be returned one at a time; this is useful if there are a large number of ARFeature objects.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.


Method Summary
 IARFeature nextARFeature()
          Retrieves the next feature in the enumeration sequence.
 

Method Detail

nextARFeature

IARFeature nextARFeature()
                         throws IOException,
                                AutomationException
Retrieves the next feature in the enumeration sequence.

Description

The NextARFeature method returns the next ARFeature object within the subset. The next ARFeature is created and allocated to the ARFeatureCursor. The ARFeatureCursor is forward only and does not support retrieving ARFeature objects that have already been retrieved, or making multiple passes over the ARFeature’s. If an application needs to make multiple passes over the data, the application needs to re-execute the ArcReaderSearchDef that returned the ARFeatureCursor.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Returns:
A reference to a com.esri.arcgis.controls.IARFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.