DataGridViewSelectedRowCollection::IEnumerable::GetEnumerator Method ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns an enumerator that can be used to iterate through the collection.

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

private:
virtual IEnumerator^ GetEnumerator() sealed = 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 DataGridViewSelectedRowCollection instance is cast to an IEnumerable interface.

.NET Framework
Available since 2.0
Return to top
Show: