Search
TreeEnumerator.Current Property
See Also
 





Gets the current element of the iteration.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Object Current { get; }

Visual Basic  Copy Code

Public ReadOnly Property Current As Object

 Property Value

 The DiagramItem that is current in the enumeration.

 Remarks

If the enumLinks constructor argument is set to false, only nodes are enumerated. After an enumerator is created or after a Reset, MoveNext must be called to advance the enumerator to the first element before reading the value of Current; otherwise, Current is undefined.

 See Also