DuctSizeSettingIterator.Current Property

DuctSizeSettingIteratorCurrent Property

Gets the item at the current position of the iterator.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual KeyValuePair<DuctShape, DuctSizes> Current { get; }
Public Overridable ReadOnly Property Current As KeyValuePair(Of DuctShape, DuctSizes)
	Get
public:
virtual property KeyValuePair<DuctShape, DuctSizes^> Current {
	KeyValuePair<DuctShape, DuctSizes^> get ();
}
abstract Current : KeyValuePair<DuctShape, DuctSizes> with get
override Current : KeyValuePair<DuctShape, DuctSizes> with get

Property Value

KeyValuePairDuctShape, DuctSizes

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