Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoLayerCollectionObjectEnumerator Structure |
'Declaration Public Structure GoLayerCollectionObjectEnumerator Inherits System.ValueType
public struct GoLayerCollectionObjectEnumerator : System.ValueType
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.
System.Object
System.ValueType
Northwoods.GoWeb.GoLayerCollectionObjectEnumerator
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