Revit 2025 API
Filtered |
Increments the iterator to the next workset id passing the filter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.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
BooleanTrue if there is another available workset id passing the filter in this iterator. False if the iterator has completed all available workset ids.

Exception | Condition |
---|---|
InvalidOperationException | The FilteredWorksetCollector that yielded this iterator has been reset by another operation. No further iteration is permitted with this iterator. |
See Also