Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoPortLinkEnumerator Structure |
'Declaration Public Structure GoPortLinkEnumerator Inherits System.ValueType
public struct GoPortLinkEnumerator : System.ValueType
foreach
(or For Each
) construct to iterate through the links of a port. In C#:
foreach (IGoLink link in aPort.Links) { . . . }In VB.NET:
Dim link As IGoLink For Each link in aPort.Links . . . Next
Remember that you must not modify the graph structure of links and nodes connected to this port, by adding or removing any links or nodes, while you are iterating over them. This structure type does not support comparison for equality.
System.Object
System.ValueType
Northwoods.GoWeb.GoPortLinkEnumerator
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