DataGridViewSelectedRowCollection.IEnumerable.GetEnumerator DataGridViewSelectedRowCollection.IEnumerable.GetEnumerator DataGridViewSelectedRowCollection.IEnumerable.GetEnumerator Method

Definition

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

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

Returns

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

Implements

Remarks

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

Applies to

See also