com.esri.arcgis.geodatabase
Interface ISelectionSet2

All Superinterfaces:
ISelectionSet, Serializable
All Known Implementing Classes:
ISelectionSet2Proxy, RelQueryTableSelectionSet, SelectionSet, TMSSelectSet

public interface ISelectionSet2
extends ISelectionSet, Serializable

Provides access to members that manage a set of selected table rows or features.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void update(IQueryFilter queryFilter, boolean recycling, ICursor[] cursor)
          Returns a cursor that can be used to update the objects specified by a query over this selection set.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ISelectionSet
add, addList, combine, getCount, getFullName, getIDs, getTarget, makePermanent, refresh, removeList, search, select
 

Method Detail

update

void update(IQueryFilter queryFilter,
            boolean recycling,
            ICursor[] cursor)
            throws IOException,
                   AutomationException
Returns a cursor that can be used to update the objects specified by a query over this selection set.

Description

The Update method returns an 'update' cursor that can be used to update or delete rows. It offers somewhat faster performance than multiple calls to Store or Delete on row objects fetched using a non-recycling search cursor for tables storing simple rows and simple features. There is no difference in performance for custom features.

Remarks

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.