FilteredWorksetCollector Class

This class is used to search, filter and iterate through a set of worksets.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012


public class FilteredWorksetCollector : IEnumerable<Workset>, 
Visual Basic
Public Class FilteredWorksetCollector _
	Implements IEnumerable(Of Workset), IDisposable
Visual C++
public ref class FilteredWorksetCollector : IEnumerable<Workset^>, 


Developers can assign a condition to filter the worksets that are returned. If no condition is applied, it attempts to access all the worksets in the document.

The collector will reset if you call another method to extract worksets. Thus, if you have previously obtained an iterator, it will be stopped and traverse no more worksets if you call another method to extract worksets.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB FilteredWorksetCollector

See Also