Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoNodePortEnumerator Structure |
'Declaration Public Structure GoNodePortEnumerator Inherits System.ValueType
public struct GoNodePortEnumerator : System.ValueType
foreach
(or For Each
) construct to iterate through the ports of a node. In C#:
foreach (IGoPort port in aNode.Ports) { . . . }In VB.NET:
Dim port As IGoPort For Each port in aNode.Ports . . . 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.
System.Object
System.ValueType
Northwoods.GoWeb.GoNodePortEnumerator
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