Revit 2026 API
Filtered |
Gets the item at the current position of the iterator.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual Element Current { get; }
Public Overridable ReadOnly Property Current As Element Get
public: virtual property Element^ Current { Element^ get (); }
abstract Current : Element with get override Current : Element with get
Property Value
ElementImplements
IEnumeratorTCurrent| Exception | Condition |
|---|---|
| InvalidOperationException | There is no current item in the iterator. |
There is no current item if the iterator has not started yet or has been done.
See Also