FilteredElementIterator
An iterator to a set of elements filtered by the settings of a FilteredElementCollector.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FilteredElementIterator
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FilteredElementIterator : IEnumerator<Element>The FilteredElementIterator type exposes the following members.
Properties
Name
Description
Public Property
Current
Gets the item at the current position of the iterator.
Protected property
CurrentObject
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the FilteredElementIterator
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetCurrent
The current element found by the iterator.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsDone
Identifies if the iteration has completed.
Public Method
MoveNext
Increments the iterator to the next element passing the filter.
Public Method
Reset
Resets the iterator to the beginning.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)