Share

FilteredElementIdIterator.Current Property

Gets the item at the current position of the iterator.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public virtual ElementId Current { get; }

Property Value

ElementId

Implements

IEnumerator<T>.Current

Exceptions

ExceptionCondition
InvalidOperationException There is no current item in the iterator.

Remarks

There is no current item if the iterator has not started yet or has been done.

See Also

Reference

Was this information helpful?