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


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

IDifferenceCursor.Next Method

Returns the object identifier or difference row.

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

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

Product Availability

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

Remarks

The Next method returns an object ID of an IRow.

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 ITable::GetRow or ITable::GetRows methods.

See Also

IDifferenceCursor Interface