GoDiagram Web Reference
GoLayerCollectionEnumerator Structure
Members 

Iterate over the layers in this collection, either forwards or backwards.
Syntax
'Declaration
 
Public Structure GoLayerCollectionEnumerator 
   Inherits System.ValueType
public struct GoLayerCollectionEnumerator : 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 layers that are part of a layer collection. In C#:
            foreach (GoLayer layer in aDocument.Layers) {
              . . .
            }
            
In VB.NET:
            Dim layer As GoLayer
            For Each layer in aDocument.Layers
              . . .
            Next
            
This structure type does not support comparison for equality.
Inheritance Hierarchy

System.Object
   System.ValueType
      Northwoods.GoWeb.GoLayerCollectionEnumerator

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

GoLayerCollectionEnumerator Members
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback