This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDifferenceCursorEx Interface > IDifferenceCursorEx.Next Method (ArcObjects .NET 10.5 SDK) |
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
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.