Interface IDifferenceCursorEx

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that control the difference cursor.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("810856CE-680B-443B-930D-CD26B1B0C412")]
public interface IDifferenceCursorEx

Remarks

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.

Methods

Next(out long, out IRow, out IRow, out ILongArray)

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

void Next(out long OID, out IRow SourceRow, out IRow differenceRow, out ILongArray differentValueIndices)

Parameters

OID long
SourceRow IRow
differenceRow IRow
differentValueIndices ILongArray

Remarks

The Next method can be used to populate two IRow objects corresponding to the SourceRow, DifferenceRow and a LongArray corresponding to the field index values.

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 IDifferenceCursorEx::NextRow should be used in a call to the ITable::GetRow or ITable::GetRows methods.