BuildItemGroupCollection.GetEnumerator Method ()


Gets an enumerator that iterates through the collection.

Namespace:   Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

public IEnumerator GetEnumerator()

This method allows the caller to use the foreach statement of the C# language (for each in Visual Basic) to iterate through the individual BuildItemGroup objects in the BuildItemGroupCollection.

.NET Framework
Available since 2.0
Return to top