Revit 2025.3 API
Key |
Gets the item at the current position of the iterator.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual KeyBasedTreeEntry Current { get; }
Public Overridable ReadOnly Property Current As KeyBasedTreeEntry Get
public: virtual property KeyBasedTreeEntry^ Current { KeyBasedTreeEntry^ get (); }
abstract Current : KeyBasedTreeEntry with get override Current : KeyBasedTreeEntry with get
Property Value
KeyBasedTreeEntryImplements
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