This document is archived and information here might be outdated.  Recommended version.

IDifferenceCursorEx Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDifferenceCursorEx Interface
ArcGIS Developer Help

IDifferenceCursorEx Interface

Provides access to members that control the difference cursor.

Product Availability

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


The IDifferenceCursorEx interface returns a cursor of OIDs and two IRows based upon the difference type used with IDataChangesEx::ExtractEx.



Name Description
Method Next Returns the source row, the difference row and an array with indices of fields with different values.

Classes that implement IDifferenceCursorEx

Classes Description


The set of object IDs returned is dependant on the difference type category. For example, if the difference type DeleteNoChange is applied, the cursor will be nothing since the row no longer exists.  In this case, it is necessary to enumerate until the returned OID equals -1.  Use the OID returned in the cursor to retrieve the row in the other version of the table where the row has not been deleted yet.