Children<TNode>.GetEnumerator Method ​
Definition ​
Returns an enumerator that iterates through the collection.
c#
public IEnumerator<TNode> GetEnumerator();Returns ​
An enumerator that can be used to iterate through the collection.
Remarks ​
Enumerating over children tries to accommodate changes to the collection whilst enumerating. However not all changes can be accommodated and an InvalidOperationException will be thrown if enumeration cannot continue.