MacroManagerIterator.Current Property

MacroManagerIteratorCurrent Property

Gets the item at the current position of the iterator.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual MacroModule Current { get; }
Public Overridable ReadOnly Property Current As MacroModule
	Get
public:
virtual property MacroModule^ Current {
	MacroModule^ get ();
}
abstract Current : MacroModule with get
override Current : MacroModule with get

Property Value

MacroModule

Implements

IEnumeratorTCurrent
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