GoDiagram Web Reference
GoGroupEnumerator Structure
Members 

Iterate over the immediate child objects of this group, either forwards or backwards.
Syntax
'Declaration
 
Public Structure GoGroupEnumerator 
   Inherits System.ValueType
public struct GoGroupEnumerator : 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 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      Northwoods.GoWeb.GoGroupEnumerator

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

GoGroupEnumerator Members
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback