public struct GoLayerEnumerator : System.ValueType
public struct GoLayerEnumerator : System.ValueType
foreach
(or For Each
) construct to iterate through the objects that are part of a layer. In C#: foreach (GoObject obj in aLayer) { . . . }
In VB.NET: Dim obj As GoObject For Each obj in aLayer . . . Next
Remember that you must not modify the layer collection, by adding, removing, or re-ordering its objects, while you are iterating over them. This structure type does not support comparison for equality.