GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoNodeLinkEnumerator Structure
In This Topic
    GoNodeLinkEnumerator Structure
    In This Topic
    Iterate over the links (or a subset of the links) connected to this node.
    public struct GoNodeLinkEnumerator : System.ValueType 
    Although this structure is public, it is rarely used explicitly. Instead you should use the foreach (or For Each) construct to iterate through the links connected to a port of a node. In C#:
                foreach (IGoLink link in aNode.DestinationLinks) {
                  . . .

    Remember that you must not modify the graph structure of ports and links and nodes connected to this node, by adding or removing any ports, links, or nodes, while you are iterating over them. This structure type does not support comparison for equality.

    See Also