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


IDifferenceCursorEx.Next Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDifferenceCursorEx.Next Method

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

[Visual Basic .NET]
Public Sub Next ( _
    ByRef OID As Integer, _
    ByRef SourceRow As IRow, _
    ByRef differenceRow As IRow, _
    ByRef differentValueIndices As ILongArray _
)
[C#]
public void Next (
    ref int OID,
    ref IRow SourceRow,
    ref IRow differenceRow,
    ref ILongArray differentValueIndices
);
[C++]
HRESULT Next(
  long* OID,
  IRow** SourceRow,
  IRow** differenceRow,
  ILongArray** differentValueIndices
);
[C++]

Parameters OID [out] OID is a parameter of type long SourceRow [out]
SourceRow is a parameter of type IRow differenceRow [out]
differenceRow is a parameter of type IRow differentValueIndices [out]
differentValueIndices is a parameter of type ILongArray

Product Availability

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

Remarks

The Next method can be used to populate two IRowobjects 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.

 

See Also

IDifferenceCursorEx Interface

.NET Related Topics

Obtaining changes made in the current edit session