GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayerCollectionEnumerator Structure
Members
In This Topic
    GoLayerCollectionEnumerator Structure
    In This Topic
    Iterate over the layers in this collection, either forwards or backwards.
    Syntax
    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.
    See Also