DataGridViewRowCollection.IEnumerable.GetEnumerator Method ()


Returns an enumerator that iterates through the collection.

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

IEnumerator IEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

An IEnumerator that can be used to iterate through the collection.

This member is an explicit interface member implementation. It can be used only when the DataGridViewRowCollection instance is cast to an IEnumerable interface.

.NET Framework
Available since 2.0
Return to top