Northwoods.Go Assembly > Northwoods.Go Namespace : GoGroupEnumerator Structure |
'Declaration Public Structure GoGroupEnumerator Inherits System.ValueType
public struct GoGroupEnumerator : System.ValueType
foreach
(or For Each
) construct to iterate through the children of a group. In C#: foreach (GoObject obj in aGroup) { . . . }
In VB.NET: Dim obj As GoObject For Each obj in aGroup . . . Next
Also, since GoGroup implements the IList
interface, you can refer to the items of the group by a zero-based index.
Remember that you must not modify the group collection, by adding, removing, or re-ordering the child objects, while you are iterating over the children. This structure type does not support comparison for equality.
System.Object
System.ValueType
Northwoods.Go.GoGroupEnumerator
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