RVTDocs.com

FilteredElementIterator.MoveNext

Method
Description:
Increments the iterator to the next element passing the filter.
Syntax
public virtual bool MoveNext()
Exceptions
Exception Condition
InvalidOperationException The FilteredElementCollector that yielded this iterator has been reset by another operation. No further iteration is permitted with this iterator. -or- The iterator cannot proceed due to changes made to the Element table in Revit's database (typically, This can be the result of an Element deletion).