ArcGIS Pro 2.8 API Reference Guide
MoveNext Method (RowCursor)

ArcGIS.Core.Data Namespace > RowCursor Class : MoveNext Method
Advances to the next Row in this RowCursor. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool MoveNext()
Public Function MoveNext() As Boolean

Return Value

true if the cursor has successfully advanced to the next row; false if the cursor has passed the end of the collection.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
The RowCursor can only advance sequentially forward. To move the cursor back to the beginning, you will have to reexecute the search to obtain a new row cursor. If MoveNext() returns true, a Row object is created. Even if this row (Current) is not otherwise needed, it should be properly disposed through a call to System.IDisposable.Dispose or with the use of a using statement.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RowCursor Class
RowCursor Members