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


IEnumRow.Next Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEnumRow Interface > IEnumRow.Next Method
ArcGIS Developer Help

IEnumRow.Next Method

Retrieves the next row in the sequence.

[Visual Basic .NET]
Public Function Next ( _
) As IRow
[C#]
public IRow Next (
);

Product Availability

Available with ArcGIS Desktop.

Remarks

The Next method retreives the next IRow object in the enumeration. If the enumeration has been reset, the Next method will return the first row in the enumeration. If the enumeration is at the end of its collection, the Next method will return a NULL object.

  
[C#]
 IRow row = enumRow.Next 
 If (row == null)
  {
    Windows.Forms.MessageBox.Show("Enumeration is empty!");
    return;
  }

See Also

IEnumRow Interface

.NET Samples

Tabbed feature inspector