GetEnumerator Method
Collapse the table of content
Expand the table of content

ListBox.ObjectCollection.GetEnumerator Method ()


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
© 2016 Microsoft