GoDiagram Win Reference
GoLayerCollectionObjectEnumerator Structure
Members 

Iterate over all of the GoObjects in all of the layers, either forwards or backwards.
Syntax
'Declaration
 
Public Structure GoLayerCollectionObjectEnumerator 
   Inherits System.ValueType
public struct GoLayerCollectionObjectEnumerator : 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 objects that are part of a document. In C#: foreach (GoObject obj in aDocument) { . . . } In VB.NET: Dim obj As GoObject For Each obj in aDocument . . . Next

Remember that you must not modify any layer collection, by adding, removing, or re-ordering any objects, while you are iterating over them. This structure type does not support comparison for equality.

Inheritance Hierarchy

System.Object
   System.ValueType
      Northwoods.Go.GoLayerCollectionObjectEnumerator

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

GoLayerCollectionObjectEnumerator Members
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback