Piccolo.NET

PNode.GetEnumerator Method 

Return an enumerator for this node’s direct descendent children.

public IEnumerator GetEnumerator();

Return Value

An enumerator for this node's children.

Implements

IEnumerable.GetEnumerator

Remarks

This method allows you to use the foreach loop to iterate over a node's children. For example, you could do the following:

foreach(PNode node in aNode) {
    node.DoSomething();
}
Typically, you will not need to call this method directly. Instead use the ChildrenEnumerator property.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace


Web Accessibility