ListBox.ObjectCollection.GetEnumerator Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns an enumerator to use to iterate through the item collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

An IEnumerator that represents the item collection.

.NET Framework
Available since 1.1
Return to top