GoDiagram Web Reference
GoNodeLinkEnumerator Structure
Members 

Iterate over the links (or a subset of the links) connected to this node.
Syntax
'Declaration
 
Public Structure GoNodeLinkEnumerator 
   Inherits System.ValueType
public struct GoNodeLinkEnumerator : System.ValueType 
Remarks
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) {
              . . .
            }
            
In VB.NET:
            Dim link As IGoLink
            For Each link in aNode.DestinationLinks
              . . .
            Next
            

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      Northwoods.GoWeb.GoNodeLinkEnumerator

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoNodeLinkEnumerator Members
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback