Revit 2025.3 API
| Category | 
Move the iterator one item forward.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual bool MoveNext()
Public Overridable Function MoveNext As Boolean
public: virtual bool MoveNext()
abstract MoveNext : unit -> bool override MoveNext : unit -> bool
Return Value
BooleanReturns True if the iterator was successfully moved forward one item and the Current property will return a valid item. False will be returned it the iterator has reached the end of the map.
Implements
IEnumeratorMoveNext Remarks
Remarks
            MoveNext must be called before the Current property is valid with a new or Reset iterator
            in line with the expected behavior of IEnumerator.
         
See Also