MacroModuleIterator.Current Property

MacroModuleIteratorCurrent 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 Macro Current { get; }
Public Overridable ReadOnly Property Current As Macro
	Get
public:
virtual property Macro^ Current {
	Macro^ get ();
}
abstract Current : Macro with get
override Current : Macro with get

Property Value

Macro

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