ArcObjects Library Reference (GeoDatabase)  

IDifferenceCursor Interface

Provides access to members that control the version difference cursor.

Product Availability

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

Description

The IDifferenceCursor interface returns a cursor of OIDs and IRows based upon the difference type used with IVersionedTable or IDataChangesEx.

The set of object IDs returned is dependant on the difference type category. For example, if the difference type DeleteNoChange is applied, the outbound row 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 value returned by the outbound OID parameter to retrieve the row in the other version of the table where the row has not yet been deleted.

IRow objects returned from a difference cursor are meant to be a read only. If row editing is desired the OID returned from the call to IDifferenceCursor::NextRow should be used in a call to the ITable::GetRow or ITable::GetRows methods.

Members

Description
Method Next Returns the object identifier or difference row.

CoClasses that implement IDifferenceCursor

CoClasses and Classes Description
DifferenceCursor Esri Difference Cursor object.

.NET Related Topics

Finding differences between versions