Gets the item at the current position of the iterator.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
public virtual KeyBasedTreeEntry Current { get; } |
Visual Basic |
---|
Public Overridable ReadOnly Property Current As KeyBasedTreeEntry Get |
Visual C++ |
---|
public: virtual property KeyBasedTreeEntry^ Current { KeyBasedTreeEntry^ get (); } |
Implements
IEnumerator<(Of <(<'T>)>)>..::..Current
Remarks
There is no current item if the iterator has not started yet or has been done.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | There is no current item in the iterator. |